From ceacb6fe9a8e52d1fa3135e0992eb29600e07451 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Tue, 2 Dec 2014 03:27:29 +0000 Subject: [PATCH] binutils: remove debug messages git-svn-id: svn://kolibrios.org@5211 a494cfbc-eb01-0410-851d-a64ba20cac60 --- contrib/toolchain/binutils/ld/ldfile.c | 2 -- contrib/toolchain/binutils/ld/ldmain.c | 12 ------------ 2 files changed, 14 deletions(-) diff --git a/contrib/toolchain/binutils/ld/ldfile.c b/contrib/toolchain/binutils/ld/ldfile.c index 302d6d3d5..16baef831 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 c1cbdd2e4..6a53667db 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