From ae42d3a94de799bedc7d6f912e57798c68044d18 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Fri, 17 Jan 2003 10:36:49 +0000 Subject: [PATCH] * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not skip ':'. --- ld/ChangeLog | 11 ++++++++--- ld/emultempl/elf32.em | 2 +- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 64f5c04b4e6..660f2054754 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2003-01-17 Andreas Jaeger + + * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not + skip ':'. + 2003-01-16 Alan Modra * Makefile.in: Regenerate. @@ -76,10 +81,10 @@ * emulparams/elf32iq10.sh: New file. * emulparams/elf32iq2000.sh: New file. * scripttempl/iq2000.sc: New file. - + 2003-01-02 Charles Wilson - * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc + * pe-dll.c (autofilter_symbollist): Add do_pseudo_reloc and _pei386_runtime_relocator to the exclude list. 2003-01-01 Kazu Hirata @@ -188,7 +193,7 @@ def_file_export structure. (pe_implied_import_dll): New variables exp_funcbase and [data|bss]_[start|end]. Use DLL's internal name to set dll_name, - not filename (which may be a symlink). Scan the sections and + not filename (which may be a symlink). Scan the sections and initialize [data|bss]_[start|end]. When scanning the export table, skip _nm_ symbols, and mark any symbols whose rva indicates that it is in the .bss or .data sections as data. diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index a776d58d2ac..f8ba0b4c899 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -471,9 +471,9 @@ gld${EMULATION_NAME}_add_sysroot (path) while (path[i]) if (path[i] == ':') { + *p++ = path[i++]; strcpy (p, ld_sysroot); p = p + strlen (p); - i++; } else *p++ = path[i++]; -- 2.30.2