da5938a216
* elf32-arm.c (arm_type_of_stub): Ignore STT_SECTION symbols. (elf32_arm_stub_add_mapping_symbol): Remove. (elf32_arm_add_stub): Don't generate mapping symbols. Change prototype. (elf32_arm_size_stubs): Use new elf32_arm_add_stub prototype. Don't generate thumb to arm glue for calls. (arm_map_one_stub): Define. (elf32_arm_output_arch_local_syms): Generate mapping symbols for long calls stubs. ld/testsuite/ * ld-arm/farcall-arm-arm.s: Force function type on 'bar'. * ld-arm/farcall-thumb-arm.s: Likewise. * ld-arm/farcall-thumb-arm-blx.d: Fix encoding. * ld-arm/farcall-thumb-arm.d: Likewise. * ld-arm/farcall-thumb-arm-blx-pic-veneer.d: Likewise. * ld-arm/arm-elf.exp (armelftests): Add farcall-mix, farcall-mix2, farcall-group-default, farcall-group-size2, farcall-section Ignore gas warnings in farcall-thumb-arm, farcall-thumb-arm-blx, farcall-thumb-arm-blx-pic-veneer.
16 lines
383 B
Makefile
16 lines
383 B
Makefile
.*: file format .*
|
|
|
|
Disassembly of section .text:
|
|
|
|
00001000 <_start-0x10>:
|
|
1000: e59fc000 ldr ip, \[pc, #0\] ; 1008 <_start-0x8>
|
|
1004: e08ff00c add pc, pc, ip
|
|
1008: 0200000c .word 0x0200000c
|
|
100c: 00000000 .word 0x00000000
|
|
|
|
00001010 <_start>:
|
|
1010: f7ff eff6 blx 1000 <_start-0x10>
|
|
Disassembly of section .foo:
|
|
|
|
02001014 <bar>:
|
|
2001014: e12fff1e bx lr
|