4e617b1e97
bfd/ * elf-bfd.h (elf_backend_data): Add elf_backend_output_arch_local_syms * elf32-arm.c (output_arch_syminfo): Define. (elf32_arm_ouput_plt_map_sym, elf32_arm_output_plt_map, elf32_arm_output_arch_local_syms): New functions. (elf_backend_output_arch_local_syms): Define. * elflink.c (bfd_elf_final_link): Call elf_backend_output_arch_local_syms. * elfxx-target.h (elf_backend_output_arch_local_syms): Provide default definition. (elfNN_bed): Add elf_backend_output_arch_local_syms. ld/testsuite/ * ld-arm/arm-app-abs32.d: Update expected output. * ld-arm/arm-app.d: Ditto. * ld-arm/arm-lib-plt32.d: Ditto. * ld-arm/arm-lib.d: Ditto. * ld-arm/mixed-app-v5.d: Ditto. * ld-arm/mixed-app.d: Ditto. * ld-arm/mixed-lib.d: Ditto.
57 lines
1.6 KiB
Makefile
57 lines
1.6 KiB
Makefile
|
|
tmpdir/mixed-app: file format elf32-(little|big)arm
|
|
architecture: arm, flags 0x00000112:
|
|
EXEC_P, HAS_SYMS, D_PAGED
|
|
start address 0x.*
|
|
|
|
Disassembly of section .plt:
|
|
|
|
.* <.plt>:
|
|
.*: e52de004 str lr, \[sp, #-4\]!
|
|
.*: e59fe004 ldr lr, \[pc, #4\] ; .* <\.plt\+0x10>
|
|
.*: e08fe00e add lr, pc, lr
|
|
.*: e5bef008 ldr pc, \[lr, #8\]!
|
|
.*: .*
|
|
.*: (46c04778 undefined|477846c0 ldrmib r4, \[r8, -r0, asr #13\]!)
|
|
.*: e28fc6.* add ip, pc, #.* ; 0x.*
|
|
.*: e28cca.* add ip, ip, #.* ; 0x.*
|
|
.*: e5bcf.* ldr pc, \[ip, #.*\]!
|
|
.*: e28fc6.* add ip, pc, #.* ; 0x.*
|
|
.*: e28cca.* add ip, ip, #.* ; 0x.*
|
|
.*: e5bcf.* ldr pc, \[ip, #.*\]!
|
|
Disassembly of section .text:
|
|
|
|
.* <_start>:
|
|
.*: e1a0c00d mov ip, sp
|
|
.*: e92dd800 stmdb sp!, {fp, ip, lr, pc}
|
|
.*: eb000004 bl .* <app_func>
|
|
.*: e89d6800 ldmia sp, {fp, sp, lr}
|
|
.*: e12fff1e bx lr
|
|
.*: e1a00000 nop \(mov r0,r0\)
|
|
.*: e1a00000 nop \(mov r0,r0\)
|
|
.*: e1a00000 nop \(mov r0,r0\)
|
|
|
|
.* <app_func>:
|
|
.*: e1a0c00d mov ip, sp
|
|
.*: e92dd800 stmdb sp!, {fp, ip, lr, pc}
|
|
.*: ebfffff. bl .*
|
|
.*: e89d6800 ldmia sp, {fp, sp, lr}
|
|
.*: e12fff1e bx lr
|
|
.*: e1a00000 nop \(mov r0,r0\)
|
|
.*: e1a00000 nop \(mov r0,r0\)
|
|
.*: e1a00000 nop \(mov r0,r0\)
|
|
|
|
.* <app_func2>:
|
|
.*: e12fff1e bx lr
|
|
.*: e1a00000 nop \(mov r0,r0\)
|
|
.*: e1a00000 nop \(mov r0,r0\)
|
|
.*: e1a00000 nop \(mov r0,r0\)
|
|
|
|
.* <app_tfunc>:
|
|
.*: b500 push {lr}
|
|
.*: f7ff ffc. bl .* <.text-0x..>
|
|
.*: bd00 pop {pc}
|
|
.*: 4770 bx lr
|
|
.*: 46c0 nop \(mov r8, r8\)
|
|
.*: 46c0 nop \(mov r8, r8\)
|
|
.*: 46c0 nop \(mov r8, r8\)
|