diff options
author | Alan Modra <amodra@gmail.com> | 2016-08-11 12:30:52 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-08-11 13:00:40 +0930 |
commit | d93d1c80b351a424c1737436b5e7dfb44ddc9d46 (patch) | |
tree | a41ff6a370154e3f315904ea6ae17af312f246f4 /gas | |
parent | 4e796e9fedee43829c3eef17f557127d08cead12 (diff) | |
download | gdb-d93d1c80b351a424c1737436b5e7dfb44ddc9d46.zip gdb-d93d1c80b351a424c1737436b5e7dfb44ddc9d46.tar.gz gdb-d93d1c80b351a424c1737436b5e7dfb44ddc9d46.tar.bz2 |
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.
Diffstat (limited to 'gas')
0 files changed, 0 insertions, 0 deletions