diff options
author | Alan Modra <amodra@gmail.com> | 2024-10-26 08:57:49 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2024-10-26 10:25:38 +1030 |
commit | 6ecc44f6980c0f8c0f0934bc10412c1d7fa3c544 (patch) | |
tree | 295df2ab4dbdc9efc584a5e87073bf754d85ff61 /ld/ldelf.c | |
parent | 3d17c8817216343179f64d1a682311a70774ccb4 (diff) | |
download | gdb-6ecc44f6980c0f8c0f0934bc10412c1d7fa3c544.zip gdb-6ecc44f6980c0f8c0f0934bc10412c1d7fa3c544.tar.gz gdb-6ecc44f6980c0f8c0f0934bc10412c1d7fa3c544.tar.bz2 |
PR32300, --dependency-file: link dependencies are not all collected
PR 32300
PR 31904
Revert patch accidentally committed with 057a2b4c4b
Diffstat (limited to 'ld/ldelf.c')
-rw-r--r-- | ld/ldelf.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1170,7 +1170,7 @@ ldelf_handle_dt_needed (struct elf_link_hash_table *htab, { char *filename; - if (search->source != search_dir_linker_script) + if (search->cmdline) continue; filename = (char *) xmalloc (strlen (search->name) + len + 2); sprintf (filename, "%s/%s", search->name, l->name); |