diff options
author | Nathan Sidwell <nathan@codesourcery.com> | 2009-07-16 13:18:52 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@codesourcery.com> | 2009-07-16 13:18:52 +0000 |
commit | 9a6f4e976ddfb067ae1e954a03d8887d60956cbc (patch) | |
tree | 5c056a5483a53a430d3a5e7daefe618ad087d647 /ld/testsuite/ld-arm/arm-target2.s | |
parent | 3726e6c57f4e006f2744ab5b866ef98f2a79747d (diff) | |
download | gdb-9a6f4e976ddfb067ae1e954a03d8887d60956cbc.zip gdb-9a6f4e976ddfb067ae1e954a03d8887d60956cbc.tar.gz gdb-9a6f4e976ddfb067ae1e954a03d8887d60956cbc.tar.bz2 |
gas/
* config/tc-arm.c (md_apply_fix <BFD_RELOC_ARM_TARGET2>): Write
the offset for REL targets here.
gas/testsuite/
* gas/arm/target-reloc-1.s: New.
* gas/arm/target-reloc-1.d: New.
ld/testsuite/
* ld-arm/arm-target2.s: Add addend cases.
* ld-arm/arm-target2-rel.d: Adjust.
* ld-arm/arm-target2-abs.d: Adjust.
* ld-arm/arm-target2-got-rel.d: Adjust.
Diffstat (limited to 'ld/testsuite/ld-arm/arm-target2.s')
-rw-r--r-- | ld/testsuite/ld-arm/arm-target2.s | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arm/arm-target2.s b/ld/testsuite/ld-arm/arm-target2.s index 0c343ef..26c4519 100644 --- a/ld/testsuite/ld-arm/arm-target2.s +++ b/ld/testsuite/ld-arm/arm-target2.s @@ -3,4 +3,7 @@ .global _start _start: .word foo(target2) + .word foo+0x1234(target2) + .word foo+0xcdef0000(target2) + .word foo+0x76543210(target2) foo: |