diff options
author | Paul Brook <paul@codesourcery.com> | 2011-05-31 13:40:04 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2011-05-31 13:40:04 +0000 |
commit | 6e7ce2cdd34f7e3ad720e1d43a19635d79ce17b4 (patch) | |
tree | d8a159765825d07d54e8c5480dff705e6d356b1f /ld/testsuite/ld-arm/arm-elf.exp | |
parent | 12352d3f854285aaaecf6bc89df80e6247968a63 (diff) | |
download | binutils-6e7ce2cdd34f7e3ad720e1d43a19635d79ce17b4.zip binutils-6e7ce2cdd34f7e3ad720e1d43a19635d79ce17b4.tar.gz binutils-6e7ce2cdd34f7e3ad720e1d43a19635d79ce17b4.tar.bz2 |
2011-05-31 Paul Brook <paul@codesourcery.com>
Nathan Sidwell <nathan@codesourcery.com>
gas/
* config/tc-arm.c (fix_new_arm): Create an absolute symbol for
pc-relative fixes to constants.
* config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
ld/testsuite/
* ld-arm/abs-call-1.d: New.
* ld-arm/abs-call-1.s: New.
* ld-arm/arm-elf.exp: Add it.
Diffstat (limited to 'ld/testsuite/ld-arm/arm-elf.exp')
-rw-r--r-- | ld/testsuite/ld-arm/arm-elf.exp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp index 95959f8..a8c51c2 100644 --- a/ld/testsuite/ld-arm/arm-elf.exp +++ b/ld/testsuite/ld-arm/arm-elf.exp @@ -413,6 +413,9 @@ set armelftests { {objdump {-s -j.data -j.got} ifunc-16.gd} {readelf -r ifunc-16.rd}} "ifunc-16"} + {"abs call" "-T arm.ld" "" {abs-call-1.s} + {{objdump -d abs-call-1.d}} + "abs-call-1"} } run_ld_link_tests $armelftests |