mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-29 13:04:46 +08:00
* emultmpl/elf32.em (gld${EMULATION_NAME}_search_needed): If NAME
is an absolute path look only for this file and not along the path.
This commit is contained in:
parent
f4fbb4a3d1
commit
cc5ce05235
@ -1,3 +1,8 @@
|
||||
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.
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user