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.
24 lines
535 B
Makefile
24 lines
535 B
Makefile
|
|
.*: file format.*
|
|
|
|
|
|
Disassembly of section destsect:
|
|
|
|
00108004 <[^>]*>:
|
|
108004: f7ff fffe bl 108004 <dest>
|
|
|
|
Disassembly of section .text:
|
|
|
|
000080.. <[^>]*>:
|
|
80..: (8002f040|f0408002) .word 0x(8002f040|f0408002)
|
|
80..: 0000 movs r0, r0
|
|
...
|
|
|
|
000080.. <[^>]*>:
|
|
80..: b401 push {r0}
|
|
80..: 4802 ldr r0, \[pc, #8\] ; \(80.. <__dest_veneer\+0xc>\)
|
|
80..: 4684 mov ip, r0
|
|
80..: bc01 pop {r0}
|
|
80..: 4760 bx ip
|
|
80..: bf00 nop
|
|
80..: 00108005 .word 0x00108005
|