old-cross-binutils/ld/testsuite/ld-arm/farcall-thumb-arm.d
Nick Clifton da5938a216 bfd/
* 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.
2008-05-23 13:53:27 +00:00

19 lines
436 B
Makefile

.*: file format .*
Disassembly of section .text:
00001000 <_start-0x18>:
1000: b540 push {r6, lr}
1002: 4e03 ldr r6, \[pc, #12\] \(1010 <_start-0x8>\)
1004: 46fe mov lr, pc
1006: 4730 bx r6
1008: e8bd4040 pop {r6, lr}
100c: e12fff1e bx lr
...
00001018 <_start>:
1018: f7ff eff2 blx 1000 <_start-0x18>
Disassembly of section .foo:
02001014 <bar>:
2001014: e12fff1e bx lr