[binutils-gdb] PR22537, Segmentation fault with static PIE
sergiodj+buildbot@sergiodj.net
sergiodj+buildbot@sergiodj.net
Thu Apr 19 06:29:00 GMT 2018
*** TEST RESULTS FOR COMMIT f6a8b8c7ac2d5369070a6b76a94ee0f3052433ff ***
Author: Alan Modra <amodra@gmail.com>
Branch: master
Commit: f6a8b8c7ac2d5369070a6b76a94ee0f3052433ff
PR22537, Segmentation fault with static PIE
The only stub type that makes sense for undefined symbols, or those
defined in shared libraries, is a plt call stub. This patch arranges
to have "destination" set to -1 on such symbols, making for an easy
test in hppa_type_of_stub.
PR 22537
* elf32-hppa.c (elf32_hppa_size_stubs): Init "destination" to -1.
(hppa_type_of_stub): Don't return a long branch stub for
symbols other than those defined statically.
More information about the Gdb-testers
mailing list