old-cross-binutils/ld/testsuite/ld-arm/ifunc-15.dd
Yury Gribov 6a631e86cf Add support for limited pretty-printing of ARM PLT entries on eabi and nacl targets.
* elf32-arm.c (elf32_arm_get_synthetic_symtab): Add new callback.
    	(elf32_arm_nacl_plt_sym_val): Likewise.
    	(elf32_arm_plt0_size): Add helper function.
    	(elf32_arm_plt_size): Likewise.

    	* ld-arm/arm-app-abs32.d: Updated test.
    	* ld-arm/arm-app.d: Likewise.
    	* ld-arm/arm-lib-plt32.d: Likewise.
    	* ld-arm/arm-lib.d: Likewise.
    	* ld-arm/armthumb-lib.d: Likewise.
    	* ld-arm/cortex-a8-fix-b-plt.d: Likewise.
    	* ld-arm/cortex-a8-fix-bcc-plt.d: Likewise.
    	* ld-arm/cortex-a8-fix-bl-plt.d: Likewise.
    	* ld-arm/cortex-a8-fix-bl-rel-plt.d: Likewise.
    	* ld-arm/cortex-a8-fix-blx-plt.d: Likewise.
    	* ld-arm/farcall-mixed-app-v5.d: Likewise.
    	* ld-arm/farcall-mixed-app.d: Likewise.
    	* ld-arm/farcall-mixed-lib-v4t.d: Likewise.
    	* ld-arm/farcall-mixed-lib.d: Likewise.
    	* ld-arm/ifunc-10.dd: Likewise.
    	* ld-arm/ifunc-14.dd: Likewise.
    	* ld-arm/ifunc-15.dd: Likewise.
    	* ld-arm/ifunc-3.dd: Likewise.
    	* ld-arm/ifunc-4.dd: Likewise.
    	* ld-arm/ifunc-7.dd: Likewise.
    	* ld-arm/ifunc-8.dd: Likewise.
    	* ld-arm/ifunc-9.dd: Likewise.
    	* ld-arm/long-plt-format.d: Likewise.
    	* ld-arm/mixed-app-v5.d: Likewise.
    	* ld-arm/mixed-app.d: Likewise.
    	* ld-arm/mixed-lib.d: Likewise.
    	* ld-arm/thumb2-bl-undefweak.d: Likewise.
    	* ld-arm/thumb2-bl-undefweak1.d: Likewise.
2014-03-27 13:54:03 +00:00

102 lines
4.2 KiB
Text

.*
Disassembly of section \.plt:
00009000 <f2t@plt-0x14>:
9000: e52de004 push {lr} ; \(str lr, \[sp, #-4\]!\)
9004: e59fe004 ldr lr, \[pc, #4\] ; 9010 <__irel_end\+0xff0>
9008: e08fe00e add lr, pc, lr
900c: e5bef008 ldr pc, \[lr, #8\]!
#------------------------------------------------------------------------------
#------ PC-relative offset of .got.plt
#------------------------------------------------------------------------------
9010: 00007ff0 \.word 0x00007ff0
#------------------------------------------------------------------------------
#------ f2t's .plt entry
#------------------------------------------------------------------------------
00009014 <f2t@plt>:
9014: e28fc600 add ip, pc, #0, 12
9018: e28cca07 add ip, ip, #28672 ; 0x7000
901c: e5bcfff0 ldr pc, \[ip, #4080\]! ; 0xff0
#------------------------------------------------------------------------------
#------ f2's .plt entry
#------------------------------------------------------------------------------
00009020 <f2@plt>:
9020: e28fc600 add ip, pc, #0, 12
9024: e28cca07 add ip, ip, #28672 ; 0x7000
9028: e5bcffe8 ldr pc, \[ip, #4072\]! ; 0xfe8
Disassembly of section \.iplt:
0000902c <f3-0x18>:
#------------------------------------------------------------------------------
#------ f1's .iplt entry
#------------------------------------------------------------------------------
902c: e28fc600 add ip, pc, #0, 12
9030: e28cca07 add ip, ip, #28672 ; 0x7000
9034: e5bcffe0 ldr pc, \[ip, #4064\]! ; 0xfe0
#------------------------------------------------------------------------------
#------ f1t's .iplt entry
#------------------------------------------------------------------------------
9038: e28fc600 add ip, pc, #0, 12
903c: e28cca07 add ip, ip, #28672 ; 0x7000
9040: e5bcffd8 ldr pc, \[ip, #4056\]! ; 0xfd8
00009044 <f3>:
9044: e28fc600 add ip, pc, #0, 12
9048: e28cca07 add ip, ip, #28672 ; 0x7000
904c: e5bcffd0 ldr pc, \[ip, #4048\]! ; 0xfd0
00009050 <f3t>:
9050: e28fc600 add ip, pc, #0, 12
9054: e28cca07 add ip, ip, #28672 ; 0x7000
9058: e5bcffc8 ldr pc, \[ip, #4040\]! ; 0xfc8
Disassembly of section \.text:
0000a000 <f1>:
a000: e1a0f00e mov pc, lr
a004: e1a0f00e mov pc, lr
0000a008 <f1t>:
a008: 46f7 mov pc, lr
a00a: 46f7 mov pc, lr
0000a00c <_start>:
a00c: f8df 4000 ldr\.w r4, \[pc\] ; a010 <_start\+0x4>
#------------------------------------------------------------------------------
#------ foo
#------------------------------------------------------------------------------
a010: 00010000 \.word 0x00010000
a014: f8df 4000 ldr\.w r4, \[pc\] ; a018 <_start\+0xc>
#------------------------------------------------------------------------------
#------ f1's .iplt entry
#------------------------------------------------------------------------------
a018: 0000902c \.word 0x0000902c
a01c: f8df 4000 ldr\.w r4, \[pc\] ; a020 <_start\+0x14>
#------------------------------------------------------------------------------
#------ f2's .plt entry
#------------------------------------------------------------------------------
a020: 00009020 \.word 0x00009020
a024: f8df 4000 ldr\.w r4, \[pc\] ; a028 <_start\+0x1c>
#------------------------------------------------------------------------------
#------ f3
#------------------------------------------------------------------------------
a028: 00009044 \.word 0x00009044
a02c: f8df 4000 ldr\.w r4, \[pc\] ; a030 <_start\+0x24>
#------------------------------------------------------------------------------
#------ f1t's .iplt entry
#------------------------------------------------------------------------------
a030: 00009038 \.word 0x00009038
a034: f8df 4000 ldr\.w r4, \[pc\] ; a038 <_start\+0x2c>
#------------------------------------------------------------------------------
#------ f2t's .plt entry
#------------------------------------------------------------------------------
a038: 00009014 \.word 0x00009014
a03c: f8df 4000 ldr\.w r4, \[pc\] ; a040 <_start\+0x34>
#------------------------------------------------------------------------------
#------ f3t
#------------------------------------------------------------------------------
a040: 00009050 \.word 0x00009050