diff options
author | Paul Brook <paul@codesourcery.com> | 2004-09-30 17:03:53 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2004-09-30 17:03:53 +0000 |
commit | eeac373afe5b54b040354ac7680c46ae7934aae0 (patch) | |
tree | adbdf8e087159395d58867078a6a7d44060b0e72 /ld/testsuite | |
parent | 56157dbefc9f44aa294e92b773224141aeef6237 (diff) | |
download | gdb-eeac373afe5b54b040354ac7680c46ae7934aae0.zip gdb-eeac373afe5b54b040354ac7680c46ae7934aae0.tar.gz gdb-eeac373afe5b54b040354ac7680c46ae7934aae0.tar.bz2 |
bfd/
* elf32-arm.h (bfd_elf32_arm_set_target_relocs): Handle "abs"
target2 relocation type.
ld/
* ld.texinfo: Document --target2=abs.
* emulparms/armsymbian.sh (TARGET2_TYPE): Set.
ld/testsuite/
* ld-arm/arm-elf.exp: Add test for --target2=abs.
* ld-arm/arm-target2-abs.d: New file.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-elf.exp | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-target2-abs.d | 5 |
3 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index ac41e87..76de52b 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2004-09-30 Paul Brook <paul@codesourcery.com> + + * ld-arm/arm-elf.exp: Add test for --target2=abs. + * ld-arm/arm-target2-abs.d: New file. + 2004-09-29 Alan Modra <amodra@bigpond.net.au> * ld-pe/secrel1.s: Pad .rdata out to 16 byte boundary. diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp index 17fb089..1de19e7 100644 --- a/ld/testsuite/ld-arm/arm-elf.exp +++ b/ld/testsuite/ld-arm/arm-elf.exp @@ -56,6 +56,9 @@ set armelftests { {"target2-rel" "-static --target2=rel -T arm.ld" "" {arm-target2.s} {{objdump -s arm-target2-rel.d}} "arm-target2-rel"} + {"target2-abs" "-static --target2=abs -T arm.ld" "" {arm-target2.s} + {{objdump -s arm-target2-abs.d}} + "arm-target2-abs"} {"target2-got-rel" "-static --target2=got-rel -T arm.ld" "" {arm-target2.s} {{objdump -s arm-target2-got-rel.d}} "arm-target2-got-rel"} diff --git a/ld/testsuite/ld-arm/arm-target2-abs.d b/ld/testsuite/ld-arm/arm-target2-abs.d new file mode 100644 index 0000000..81cc9cc --- /dev/null +++ b/ld/testsuite/ld-arm/arm-target2-abs.d @@ -0,0 +1,5 @@ + +.*: file format.* + +Contents of section .text: + 8000 (04800000|00008004) .* |