This is the mail archive of the
gdb-testers@sourceware.org
mailing list for the GDB project.
[binutils-gdb] PowerPC64 ELFv1 undefined weak functions
- From: sergiodj+buildbot at sergiodj dot net
- To: gdb-testers at sourceware dot org
- Date: Thu, 11 Aug 2016 00:45:51 -0400
- Subject: [binutils-gdb] PowerPC64 ELFv1 undefined weak functions
- Authentication-results: sourceware.org; auth=none
*** TEST RESULTS FOR COMMIT d93d1c80b351a424c1737436b5e7dfb44ddc9d46 ***
Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: d93d1c80b351a424c1737436b5e7dfb44ddc9d46
PowerPC64 ELFv1 undefined weak functions
Undefined weak functions, like __gmon_start__, were not being made
dynamic or emitting plt call code. While the behaviour of undefined
weak symbols is not defined in the ELF standard, the intention on
powerpc64 was to make it possible to link without a definition of such
symbols and at run time behave the same as if a definition was found
at link time in a shared library.
* elf64-ppc.c (ppc64_elf_adjust_dynamic_symbol): Don't exit with
non_got_ref true in any case where we could have generated dynbss
copies but decide not to do so.