diff options
author | Paul Brook <paul@codesourcery.com> | 2007-06-29 15:05:47 +0000 |
---|---|---|
committer | Paul Brook <paul@codesourcery.com> | 2007-06-29 15:05:47 +0000 |
commit | 5ab79981933708d465b91676baf6994996979da8 (patch) | |
tree | 0a568768ea8df53fb6ba1afb1b055e99f1ca73aa /ld/testsuite | |
parent | 32e8a950c4e551038786bc4980dcb9fbfb8384b0 (diff) | |
download | gdb-5ab79981933708d465b91676baf6994996979da8.zip gdb-5ab79981933708d465b91676baf6994996979da8.tar.gz gdb-5ab79981933708d465b91676baf6994996979da8.tar.bz2 |
2007-06-29 Paul Brook <paul@codesourcery.com>
bfd/
* elf32-arm.c (bfd_elf32_arm_process_before_allocation): Suppress
call veneers for call relocations against undefined symbols.
(elf32_arm_final_link_relocate): Turn call to undefined symbol
into a jump to the next instruction.
ld/testuite/
* ld-arm/arm-elf.exp (armelftests): Add callweak.
* ld-arm/callweak.d: New test.
* ld-arm/callweak.s: New test.
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-elf.exp | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index f0a5de3..cd4281d 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2007-06-29 Paul Brook <paul@codesourcery.com> + + * ld-arm/arm-elf.exp (armelftests): Add callweak. + * ld-arm/callweak.d: New test. + * ld-arm/callweak.s: New test. + 2007-06-28 H.J. Lu <hongjiu.lu@intel.com> PR ld/4701 diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp index 087225f..a83c1ee 100644 --- a/ld/testsuite/ld-arm/arm-elf.exp +++ b/ld/testsuite/ld-arm/arm-elf.exp @@ -170,6 +170,9 @@ set armelftests { {"EABI attribute merging" "-r" "" {attr-merge.s attr-merge.s} {{readelf -A attr-merge.attr}} "attr-merge"} + {"callweak" "-static -T arm.ld" "" {callweak.s} + {{objdump -dr callweak.d}} + "callweak"} } run_ld_link_tests $armelftests |