mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
52db4ec2d1
bfd/ * elf32-arm.c (elf32_arm_final_link_relocate): Reject R_ARM_32/_NOI when trying to defer them to runtime. ld/testsuite/ * ld-arm/elf32-reject.s: New testcase. * ld-arm/elf32-reject.d: Likewise. * ld-arm/elf32-reject-pie.s: Likewise. * ld-arm/elf32-reject-pie.d: Likewise. * ld-arm/arm-elf.exp: Run new testcases. * ld-arm/ifunc-7.s: Delete f2/f4 test items. * ld-arm/ifunc-7.rd: Likewise. * ld-arm/ifunc-7.gd: Likewise. * ld-arm/ifunc-7.dd: Likewise. * ld-arm/ifunc-8.s: Likewise. * ld-arm/ifunc-8.rd: Likewise. * ld-arm/ifunc-8.gd: Likewise. * ld-arm/ifunc-8.dd: Likewise.
69 lines
3.0 KiB
Plaintext
69 lines
3.0 KiB
Plaintext
|
|
.*
|
|
|
|
|
|
Disassembly of section \.iplt:
|
|
|
|
00009000 <\.iplt>:
|
|
#------------------------------------------------------------------------------
|
|
#------ f1's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
9000: e28fc600 add ip, pc, #0, 12
|
|
9004: e28cca08 add ip, ip, #8, 20 ; 0x8000
|
|
9008: e5bcf004 ldr pc, \[ip, #4\]!
|
|
#------------------------------------------------------------------------------
|
|
#------ f3's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
900c: e28fc600 add ip, pc, #0, 12
|
|
9010: e28cca07 add ip, ip, #28672 ; 0x7000
|
|
9014: e5bcfffc ldr pc, \[ip, #4092\]! ; 0xffc
|
|
|
|
Disassembly of section \.text:
|
|
|
|
0000a000 <f1>:
|
|
a000: e1a0f00e mov pc, lr
|
|
|
|
0000a004 <f3>:
|
|
a004: e1a0f00e mov pc, lr
|
|
|
|
0000a008 <arm>:
|
|
a008: eb0017fc bl 10000 <foo>
|
|
a00c: e59f4000 ldr r4, \[pc\] ; a014 <arm\+0xc>
|
|
a010: e59f4000 ldr r4, \[pc\] ; a018 <arm\+0x10>
|
|
#------------------------------------------------------------------------------
|
|
#------ .got offset for foo
|
|
#------------------------------------------------------------------------------
|
|
a014: 00000018 \.word 0x00000018
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of .got entry for foo
|
|
#------------------------------------------------------------------------------
|
|
a018: 00006ffc \.word 0x00006ffc
|
|
#------------------------------------------------------------------------------
|
|
#------ f1's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a01c: ebfffbf7 bl 9000 <f1-0x1000>
|
|
a020: e59f4000 ldr r4, \[pc\] ; a028 <arm\+0x20>
|
|
a024: e59f4000 ldr r4, \[pc\] ; a02c <arm\+0x24>
|
|
#------------------------------------------------------------------------------
|
|
#------ GP-relative offset of f1's .igot.plt entry
|
|
#------------------------------------------------------------------------------
|
|
a028: 0000000c \.word 0x0000000c
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of f1's .igot.plt entry
|
|
#------------------------------------------------------------------------------
|
|
a02c: 00006fe0 \.word 0x00006fe0
|
|
#------------------------------------------------------------------------------
|
|
#------ f3's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a030: ebfffbf5 bl 900c <f1-0xff4>
|
|
a034: e59f4000 ldr r4, \[pc\] ; a03c <arm\+0x34>
|
|
a038: e59f4000 ldr r4, \[pc\] ; a040 <arm\+0x38>
|
|
#------------------------------------------------------------------------------
|
|
#------ GP-relative offset of f3's .igot.plt entry
|
|
#------------------------------------------------------------------------------
|
|
a03c: 00000010 \.word 0x00000010
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of f3's .igot.plt entry
|
|
#------------------------------------------------------------------------------
|
|
a040: 00006fd0 \.word 0x00006fd0
|