* emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not

skip ':'.
This commit is contained in:
Andreas Jaeger 2003-01-17 10:36:49 +00:00
parent 5e367fa555
commit ae42d3a94d
2 changed files with 9 additions and 4 deletions

View file

@ -1,3 +1,8 @@
2003-01-17 Andreas Jaeger <aj@suse.de>
* emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
skip ':'.
2003-01-16 Alan Modra <amodra@bigpond.net.au> 2003-01-16 Alan Modra <amodra@bigpond.net.au>
* Makefile.in: Regenerate. * Makefile.in: Regenerate.
@ -188,7 +193,7 @@
def_file_export structure. def_file_export structure.
(pe_implied_import_dll): New variables exp_funcbase and (pe_implied_import_dll): New variables exp_funcbase and
[data|bss]_[start|end]. Use DLL's internal name to set dll_name, [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 initialize [data|bss]_[start|end]. When scanning the export
table, skip _nm_ symbols, and mark any symbols whose rva indicates table, skip _nm_ symbols, and mark any symbols whose rva indicates
that it is in the .bss or .data sections as data. that it is in the .bss or .data sections as data.

View file

@ -471,9 +471,9 @@ gld${EMULATION_NAME}_add_sysroot (path)
while (path[i]) while (path[i])
if (path[i] == ':') if (path[i] == ':')
{ {
*p++ = path[i++];
strcpy (p, ld_sysroot); strcpy (p, ld_sysroot);
p = p + strlen (p); p = p + strlen (p);
i++;
} }
else else
*p++ = path[i++]; *p++ = path[i++];