mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
c542398150
2014-08-21 Tony Wang <tony.wang@arm.com> * elf32-arm.c (elf32_arm_final_link_relocate): Implement the veneer routine for R_ARM_THM_JUMP19. (arm_type_of_stub): Add conditional clause for R_ARM_THM_JUMP19 (elf32_arm_size_stub): Ditto. ld/testsuite/ChangeLog 2014-08-21 Tony Wang <tony.wang@arm.com> * ld-arm/jump-reloc-veneers-cond.s: New test. * ld-arm/farcall-cond-thumb-arm.s: Ditto. * ld-arm/jump-reloc-veneers-cond-short.d: Expected output for target without a veneer generation. * ld-arm/jump-reloc-veneers-cond-long.d: Expected output for target with a veneer generation. * ld-arm/farcall-cond-thumb-arm.d: Expected output for inter working veneer generation. * ld-arm/arm-elf.exp: Add tests for conditional branch veneer.
19 lines
395 B
Makefile
19 lines
395 B
Makefile
.*: file format .*
|
|
|
|
Disassembly of section .text:
|
|
|
|
00008000 <_start>:
|
|
8000: f050 a002 bne.w 58008 <__bar_from_thumb>
|
|
\.\.\.
|
|
58004: f040 8000 bne.w 58008 <__bar_from_thumb>
|
|
|
|
00058008 <__bar_from_thumb>:
|
|
58008: 4778 bx pc
|
|
5800a: 46c0 nop ; \(mov r8, r8\)
|
|
5800c: ea02fffb b 118000 <bar>
|
|
|
|
Disassembly of section .foo:
|
|
|
|
00118000 <bar>:
|
|
118000: e12fff1e bx lr
|