diff options
author | Alan Modra <amodra@gmail.com> | 2014-04-05 12:38:47 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2014-04-05 17:31:47 +1030 |
commit | 115c6d5c37ee70477adc3d8c45ec7d77c2278951 (patch) | |
tree | 864fd4fc34b5e07c4b94f50da0a07a6720e00594 /bfd/elflink.c | |
parent | 2cafe348f61bae1037dac338ba434ebf86c0d670 (diff) | |
download | gdb-115c6d5c37ee70477adc3d8c45ec7d77c2278951.zip gdb-115c6d5c37ee70477adc3d8c45ec7d77c2278951.tar.gz gdb-115c6d5c37ee70477adc3d8c45ec7d77c2278951.tar.bz2 |
Fix map file reference
The testcase in pr16417 comment #6 produces a map file showing
libpthread.so.0 (write@@GLIBC_2.2.5)
ie. missing the file referencing the symbol.
* elflink.c (_bfd_elf_add_default_symbol): Pass poldbfd when
merging non-default sym.
Diffstat (limited to 'bfd/elflink.c')
-rw-r--r-- | bfd/elflink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elflink.c b/bfd/elflink.c index 354f8d0c..3de00e1 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -1745,7 +1745,7 @@ nondefault: size_change_ok = FALSE; tmp_sec = sec; if (!_bfd_elf_merge_symbol (abfd, info, shortname, sym, &tmp_sec, &value, - &hi, NULL, NULL, NULL, &skip, &override, + &hi, poldbfd, NULL, NULL, &skip, &override, &type_change_ok, &size_change_ok)) return FALSE; |