PowerPC64 ELFv1 undefined weak functions
authorAlan Modra <amodra@gmail.com>
Thu, 11 Aug 2016 03:00:52 +0000 (12:30 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 11 Aug 2016 03:30:40 +0000 (13:00 +0930)
commitd93d1c80b351a424c1737436b5e7dfb44ddc9d46
treea41ff6a370154e3f315904ea6ae17af312f246f4
parent4e796e9fedee43829c3eef17f557127d08cead12
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.
bfd/ChangeLog
bfd/elf64-ppc.c
This page took 0.07107 seconds and 4 git commands to generate.