mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-27 22:48:57 +08:00
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.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2014-04-05 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* elflink.c (_bfd_elf_add_default_symbol): Pass poldbfd when
|
||||||
|
merging non-default sym.
|
||||||
|
|
||||||
2014-04-04 Tristan Gingold <gingold@adacore.com>
|
2014-04-04 Tristan Gingold <gingold@adacore.com>
|
||||||
|
|
||||||
* mach-o.c (bfd_mach_o_header_p): Reject 64 bit target when not
|
* mach-o.c (bfd_mach_o_header_p): Reject 64 bit target when not
|
||||||
|
@ -1745,7 +1745,7 @@ nondefault:
|
|||||||
size_change_ok = FALSE;
|
size_change_ok = FALSE;
|
||||||
tmp_sec = sec;
|
tmp_sec = sec;
|
||||||
if (!_bfd_elf_merge_symbol (abfd, info, shortname, sym, &tmp_sec, &value,
|
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))
|
&type_change_ok, &size_change_ok))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user