diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-elf.exp | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/thumb-plt-got.d | 14 |
3 files changed, 21 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index ef4045a..16ffc30 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,11 @@ 2020-04-01 Tamar Christina <tamar.christina@arm.com> + PR ld/16017 + * testsuite/ld-arm/arm-elf.exp (thumb-plt-got): New. + * testsuite/ld-arm/thumb-plt-got.d: New test. + +2020-04-01 Tamar Christina <tamar.christina@arm.com> + * testsuite/ld-arm/arm-elf.exp (thumb-plt): New. * testsuite/ld-arm/thumb-plt.d: New test. * testsuite/ld-arm/thumb-plt.s: New test. diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp index 99a3139..59e68de 100644 --- a/ld/testsuite/ld-arm/arm-elf.exp +++ b/ld/testsuite/ld-arm/arm-elf.exp @@ -1270,3 +1270,4 @@ run_dump_test "non-contiguous-arm5" run_dump_test "non-contiguous-arm6" run_dump_test "thumb-plt" +run_dump_test "thumb-plt-got" diff --git a/ld/testsuite/ld-arm/thumb-plt-got.d b/ld/testsuite/ld-arm/thumb-plt-got.d new file mode 100644 index 0000000..e65aba9 --- /dev/null +++ b/ld/testsuite/ld-arm/thumb-plt-got.d @@ -0,0 +1,14 @@ +#source: thumb-plt.s +#name: Thumb only PLT and GOT LSB Symbol +#ld: -shared -e0 +#readelf: -rx .got +#skip: *-*-pe *-*-wince *-*-vxworks armeb-*-* *-*-gnueabihf + +Relocation section '.rel.plt' at offset 0x108 contains 1 entry: + Offset Info Type Sym.Value Sym. Name +000101c4 00000116 R_ARM_JUMP_SLOT 00000000 foo + +Hex dump of section '.got': + NOTE: This section has relocations against it, but these have NOT been applied to this dump. + 0x000101b8 40010100 00000000 00000000 11010000 @............... + |