c820be077e
* elf32-arm.c (arm_thumb_arm_v4t_short_branch_stub): Define. (elf32_arm_stub_type): Add arm_thumb_arm_v4t_stub_short_branch. (arm_type_of_stub): Handle armv4t short branches. Update prototype. (arm_stub_is_thumb): Handle arm_thumb_arm_v4t_stub_short_branch. (arm_build_one_stub): Likewise. (arm_size_one_stub): Likewise. (elf32_arm_size_stubs): Use new arm_type_of_stub prototype. (arm_map_one_stub): Handle arm_thumb_arm_v4t_stub_short_branch. ld/testsuite/ * ld-arm/arm-elf.exp: Add farcall-thumb-arm-short test. * ld-arm/farcall-group2.s: Fix comment. * ld-arm/farcall-thumb-arm-short.d: New test. * ld-arm/farcall-thumb-arm-short.s: New test.
14 lines
325 B
Makefile
14 lines
325 B
Makefile
.*: file format .*
|
|
|
|
Disassembly of section .text:
|
|
|
|
00001000 <__bar_from_thumb>:
|
|
1000: 4778 bx pc
|
|
1002: 46c0 nop \(mov r8, r8\)
|
|
1004: ea000402 b 2014 <bar>
|
|
00001008 <_start>:
|
|
1008: f7ff fffa bl 1000 <__bar_from_thumb>
|
|
Disassembly of section .foo:
|
|
|
|
00002014 <bar>:
|
|
2014: e12fff1e bx lr
|