diff options
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/emultempl/elf32.em | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 9395dd6..8ce54f8 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,10 @@ 2001-03-17 Ulrich Drepper <drepper@redhat.com> + * emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME + is an absolute path look only for this file and not along the path. + +2001-03-17 Ulrich Drepper <drepper@redhat.com> + * emultempl/elf32.em (OPTION_GROUP): New macro. Add new option Bgroup to longopts. (gld*_parse_args): Handle GROUP_OPTION and recognize -z defs. diff --git a/ld/emultempl/elf32.em b/ld/emultempl/elf32.em index d5b9eec..7822568 100644 --- a/ld/emultempl/elf32.em +++ b/ld/emultempl/elf32.em @@ -386,6 +386,9 @@ gld${EMULATION_NAME}_search_needed (path, name, force) const char *s; size_t len; + if (name[0] == '/') + return gld${EMULATION_NAME}_try_needed (name, force); + if (path == NULL || *path == '\0') return false; len = strlen (name); |