diff --git a/contrib/toolchain/binutils/ld/ldfile.c b/contrib/toolchain/binutils/ld/ldfile.c index 302d6d3d5a..16baef831e 100644 --- a/contrib/toolchain/binutils/ld/ldfile.c +++ b/contrib/toolchain/binutils/ld/ldfile.c @@ -399,8 +399,6 @@ ldfile_open_file (lang_input_statement_type *entry) if (entry->the_bfd != NULL) return; - printf("%s %s\n", __FUNCTION__, entry->filename); - if (! entry->flags.search_dirs) { if (ldfile_try_open_bfd (entry->filename, entry)) diff --git a/contrib/toolchain/binutils/ld/ldmain.c b/contrib/toolchain/binutils/ld/ldmain.c index c1cbdd2e42..6a53667db1 100644 --- a/contrib/toolchain/binutils/ld/ldmain.c +++ b/contrib/toolchain/binutils/ld/ldmain.c @@ -184,23 +184,11 @@ ld_bfd_assert_handler (const char *fmt, const char *bfdver, config.make_executable = FALSE; } -static inline void set_cwd(const char* cwd) -{ - __asm__ __volatile__( - "int $0x40" - ::"a"(30),"b"(1),"c"(cwd)); -}; - - int main (int argc, char **argv) { char *emulation; long start_time = get_run_time (); - - set_cwd("/kolibrios/contrib/toolchain/binutils/ld"); - - #ifdef HAVE_SBRK char *start_sbrk = (char *) sbrk (0); #endif