diff options
author | Alan Modra <amodra@gmail.com> | 2018-11-26 22:05:54 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2018-11-26 22:05:54 +1030 |
commit | 2eccb8f91fec7bb6431b55d701e5c7fd2849e3f5 (patch) | |
tree | 31a58e4963ba0fbccc97244e2c7e458fd52154f3 /gold | |
parent | 0a744d8f9d434e2338bfabd9eeb1b02e225eb1ab (diff) | |
download | gdb-2eccb8f91fec7bb6431b55d701e5c7fd2849e3f5.zip gdb-2eccb8f91fec7bb6431b55d701e5c7fd2849e3f5.tar.gz gdb-2eccb8f91fec7bb6431b55d701e5c7fd2849e3f5.tar.bz2 |
[GOLD] support objdump -T display of st_other
PowerPC64 ELFv2 uses the top 3 bits of st_other to encode a function's
local entry point offset from its global entry point. Allow st_other
bits except for visibility==default.
* testsuite/ver_test_14.sh: Accept objdump -T display of st_other
bits on powerpc64le.
Diffstat (limited to 'gold')
-rw-r--r-- | gold/ChangeLog | 5 | ||||
-rwxr-xr-x | gold/testsuite/ver_test_14.sh | 8 |
2 files changed, 9 insertions, 4 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 816f7b3..3bcf6a7 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2018-11-26 Alan Modra <amodra@gmail.com> + + * testsuite/ver_test_14.sh: Accept objdump -T display of st_other + bits on powerpc64le. + 2018-11-08 Alan Modra <amodra@gmail.com> * Makefile.am (gcctestdir1/ld): Use $@ and absolute paths. diff --git a/gold/testsuite/ver_test_14.sh b/gold/testsuite/ver_test_14.sh index 73a0e08..008e436 100755 --- a/gold/testsuite/ver_test_14.sh +++ b/gold/testsuite/ver_test_14.sh @@ -35,9 +35,9 @@ check() fi } -check ver_test_14.syms "V1 *t2()$" -check ver_test_14.syms "V1 *t3()$" -check ver_test_14.syms "V1 *t4()$" -check ver_test_14.syms "Base *t4_2a$" +check ver_test_14.syms "V1 *\(0x[0-9a-f][048c]\)\? t2()$" +check ver_test_14.syms "V1 *\(0x[0-9a-f][048c]\)\? t3()$" +check ver_test_14.syms "V1 *\(0x[0-9a-f][048c]\)\? t4()$" +check ver_test_14.syms "Base *\(0x[0-9a-f][048c]\)\? t4_2a$" exit 0 |