diff options
Diffstat (limited to 'ld/emultempl/elf32.em')
-rw-r--r-- | ld/emultempl/elf32.em | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index a776d58..f8ba0b4 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++]; |