diff options
author | Doug Kwan <dougkwan@google.com> | 2016-09-02 15:51:59 -0700 |
---|---|---|
committer | Doug Kwan <dougkwan@google.com> | 2016-09-02 15:51:59 -0700 |
commit | bc99685c7387acaa9fc20f7e45e9cd477bf0c619 (patch) | |
tree | a84234b0bf1fe0b6eb2a4d9634cbd2cf247b8971 /gold/testsuite/arm_target2.s | |
parent | 4aa4e28bdcf5f0d733def62b542fea11d5f219d5 (diff) | |
download | gdb-bc99685c7387acaa9fc20f7e45e9cd477bf0c619.zip gdb-bc99685c7387acaa9fc20f7e45e9cd477bf0c619.tar.gz gdb-bc99685c7387acaa9fc20f7e45e9cd477bf0c619.tar.bz2 |
Handle ARM-specific --target1-abs, --target1-rel and --target2 options
Diffstat (limited to 'gold/testsuite/arm_target2.s')
-rw-r--r-- | gold/testsuite/arm_target2.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gold/testsuite/arm_target2.s b/gold/testsuite/arm_target2.s new file mode 100644 index 0000000..01fcefc --- /dev/null +++ b/gold/testsuite/arm_target2.s @@ -0,0 +1,10 @@ +# Test the R_ARM_TARGET2 relocation +# Copied from ld/testsuite/ld-arm/arm-target2.s + .text + .global _start +_start: + .word foo(target2) + .word foo+0x1234(target2) + .word foo+0xcdef0000(target2) + .word foo+0x76543210(target2) +foo: |