/contrib/toolchain/binutils/ld/ldfile.c |
---|
399,8 → 399,6 |
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)) |
/contrib/toolchain/binutils/ld/ldmain.c |
---|
184,23 → 184,11 |
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 |