34e77a920a
* arm.h (R_ARM_IRELATIVE): New relocation. bfd/ * reloc.c (BFD_RELOC_ARM_IRELATIVE): New relocation. * bfd-in2.h: Regenerate. * elf32-arm.c (elf32_arm_howto_table_2): Rename existing definition to elf32_arm_howto_table_3 and replace with a single R_ARM_IRELATIVE entry. (elf32_arm_howto_from_type): Update accordingly. (elf32_arm_reloc_map): Map BFD_RELOC_ARM_IRELATIVE to R_ARM_IRELATIVE. (elf32_arm_reloc_name_lookup): Handle elf32_arm_howto_table_3. (arm_plt_info): New structure, split out from elf32_arm_link_hash_entry with an extra noncall_refcount field. (arm_local_iplt_info): New structure. (elf_arm_obj_tdata): Add local_iplt. (elf32_arm_local_iplt): New accessor macro. (elf32_arm_link_hash_entry): Replace plt_thumb_refcount, plt_maybe_thumb_refcount and plt_got_offset with an arm_plt_info. Change tls_type to a bitfield and add is_iplt. (elf32_arm_link_hash_newfunc): Update accordingly. (elf32_arm_allocate_local_sym_info): New function. (elf32_arm_create_local_iplt): Likewise. (elf32_arm_get_plt_info): Likewise. (elf32_arm_plt_needs_thumb_stub_p): Likewise. (elf32_arm_get_local_dynreloc_list): Likewise. (create_ifunc_sections): Likewise. (elf32_arm_copy_indirect_symbol): Update after the changes to elf32_arm_link_hash_entry. Assert the is_iplt has not yet been set. (arm_type_of_stub): Add an st_type argument. Use elf32_arm_get_plt_info to get PLT information. Assert that all STT_GNU_IFUNC references are turned into PLT references. (arm_build_one_stub): Pass the symbol type to elf32_arm_final_link_relocate. (elf32_arm_size_stubs): Pass the symbol type to arm_type_of_stub. (elf32_arm_allocate_irelocs): New function. (elf32_arm_add_dynreloc): In static objects, use .rel.iplt for all R_ARM_IRELATIVE. (elf32_arm_allocate_plt_entry): New function. (elf32_arm_populate_plt_entry): Likewise. (elf32_arm_final_link_relocate): Add an st_type parameter. Set srelgot to null for static objects. Use separate variables to record which st_value and st_type should be used when generating a dynamic relocation. Use elf32_arm_get_plt_info to find the symbol's PLT information, setting has_iplt_entry, splt, plt_offset and gotplt_offset accordingly. Check whether STT_GNU_IFUNC symbols should resolve to an .iplt entry, and change the relocation target accordingly. Broaden assert to include .iplts. Don't set sreloc for static relocations. Assert that we only generate dynamic R_ARM_RELATIVE relocations for R_ARM_ABS32 and R_ARM_ABS32_NOI. Generate R_ARM_IRELATIVE relocations instead of R_ARM_RELATIVE relocations if the target is an STT_GNU_IFUNC symbol. Pass the symbol type to arm_type_of_stub. Conditionally resolve GOT references to the .igot.plt entry. (elf32_arm_relocate_section): Update the call to elf32_arm_final_link_relocate. (elf32_arm_gc_sweep_hook): Use elf32_arm_get_plt_info to get PLT information. Treat R_ARM_REL32 and R_ARM_REL32_NOI as call relocations in shared libraries and relocatable executables. Count non-call PLT references. Use elf32_arm_get_local_dynreloc_list to get the list of dynamic relocations for a local symbol. (elf32_arm_check_relocs): Always create ifunc sections. Set isym at the same time as setting h. Use elf32_arm_allocate_local_sym_info to allocate local symbol information. Treat R_ARM_REL32 and R_ARM_REL32_NOI as call relocations in shared libraries and relocatable executables. Record PLT information for local STT_GNU_IFUNC functions as well as global functions. Count non-call PLT references. Use elf32_arm_get_local_dynreloc_list to get the list of dynamic relocations for a local symbol. (elf32_arm_adjust_dynamic_symbol): Handle STT_GNU_IFUNC symbols. Don't remove STT_GNU_IFUNC PLTs unless all references have been removed. Update after the changes to elf32_arm_link_hash_entry. (allocate_dynrelocs_for_symbol): Decide whether STT_GNU_IFUNC PLT entries should live in .plt or .iplt. Check whether the .igot.plt and .got entries can be combined. Use elf32_arm_allocate_plt_entry to allocate .plt and .(i)got.plt entries. Detect which .got entries will need R_ARM_IRELATIVE relocations and use elf32_arm_allocate_irelocs to allocate them. Likewise other non-.got dynamic relocations. (elf32_arm_size_dynamic_sections): Allocate .iplt, .igot.plt and dynamic relocations for local STT_GNU_IFUNC symbols. Check whether the .igot.plt and .got entries can be combined. Detect which .got entries will need R_ARM_IRELATIVE relocations and use elf32_arm_allocate_irelocs to allocate them. Use stashed section pointers intead of strcmp checks. Handle iplt and igotplt. (elf32_arm_finish_dynamic_symbol): Use elf32_arm_populate_plt_entry to fill in .plt, .got.plt and .rel(a).plt entries. Point STT_GNU_IFUNC symbols at an .iplt entry if non-call relocations resolve to it. (elf32_arm_output_plt_map_1): New function, split out from elf32_arm_output_plt_map. Handle .iplt entries. Use elf32_arm_plt_needs_thumb_stub_p. (elf32_arm_output_plt_map): Call it. (elf32_arm_output_arch_local_syms): Add mapping symbols for local .iplt entries. (elf32_arm_swap_symbol_in): Handle Thumb STT_GNU_IFUNC symbols. (elf32_arm_swap_symbol_out): Likewise. (elf32_arm_add_symbol_hook): New function. (elf_backend_add_symbol_hook): Define for all targets. opcodes/ * arm-dis.c (get_sym_code_type): Treat STT_GNU_IFUNCs as code. gas/ * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to determine whether a relocation is needed. (md_apply_fix, arm_apply_sym_value): Likewise. ld/testsuite/ * ld-arm/ifunc-1.s, ld-arm/ifunc-1.dd, ld-arm/ifunc-1.gd, ld-arm/ifunc-1.rd, ld-arm/ifunc-2.s, ld-arm/ifunc-2.dd, ld-arm/ifunc-2.gd, ld-arm/ifunc-2.rd, ld-arm/ifunc-3.s, ld-arm/ifunc-3.dd, ld-arm/ifunc-3.gd, ld-arm/ifunc-3.rd, ld-arm/ifunc-4.s, ld-arm/ifunc-4.dd, ld-arm/ifunc-4.gd, ld-arm/ifunc-4.rd, ld-arm/ifunc-5.s, ld-arm/ifunc-5.dd, ld-arm/ifunc-5.gd, ld-arm/ifunc-5.rd, ld-arm/ifunc-6.s, ld-arm/ifunc-6.dd, ld-arm/ifunc-6.gd, ld-arm/ifunc-6.rd, ld-arm/ifunc-7.s, ld-arm/ifunc-7.dd, ld-arm/ifunc-7.gd, ld-arm/ifunc-7.rd, ld-arm/ifunc-8.s, ld-arm/ifunc-8.dd, ld-arm/ifunc-8.gd, ld-arm/ifunc-8.rd, ld-arm/ifunc-9.s, ld-arm/ifunc-9.dd, ld-arm/ifunc-9.gd, ld-arm/ifunc-9.rd, ld-arm/ifunc-10.s, ld-arm/ifunc-10.dd, ld-arm/ifunc-10.gd, ld-arm/ifunc-10.rd, ld-arm/ifunc-11.s, ld-arm/ifunc-11.dd, ld-arm/ifunc-11.gd, ld-arm/ifunc-11.rd, ld-arm/ifunc-12.s, ld-arm/ifunc-12.dd, ld-arm/ifunc-12.gd, ld-arm/ifunc-12.rd, ld-arm/ifunc-13.s, ld-arm/ifunc-13.dd, ld-arm/ifunc-13.gd, ld-arm/ifunc-13.rd, ld-arm/ifunc-14.s, ld-arm/ifunc-14.dd, ld-arm/ifunc-14.gd, ld-arm/ifunc-14.rd, ld-arm/ifunc-15.s, ld-arm/ifunc-15.dd, ld-arm/ifunc-15.gd, ld-arm/ifunc-15.rd, ld-arm/ifunc-16.s, ld-arm/ifunc-16.dd, ld-arm/ifunc-16.gd, ld-arm/ifunc-16.rd, ld-arm/ifunc-dynamic.ld, ld-arm/ifunc-static.ld: New tests. * ld-arm/farcall-group.d, ld-arm/farcall-group-size2.d, ld-arm/farcall-mixed-lib-v4t.d, ld-arm/farcall-mixed-lib.d: Update for new stub hashes. * ld-arm/arm-elf.exp: Run them.
445 lines
23 KiB
Text
445 lines
23 KiB
Text
|
|
.*
|
|
|
|
|
|
Disassembly of section \.iplt:
|
|
|
|
00009000 <f7-0x3c>:
|
|
#------------------------------------------------------------------------------
|
|
#------ f1's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
9000: e28fc600 add ip, pc, #0
|
|
9004: e28cca08 add ip, ip, #32768 ; 0x8000
|
|
9008: e5bcf004 ldr pc, \[ip, #4\]!
|
|
#------------------------------------------------------------------------------
|
|
#------ f2's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
900c: e28fc600 add ip, pc, #0
|
|
9010: e28cca07 add ip, ip, #28672 ; 0x7000
|
|
9014: e5bcfffc ldr pc, \[ip, #4092\]! ; 0xffc
|
|
#------------------------------------------------------------------------------
|
|
#------ thumb entry to f3's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
9018: 4778 bx pc
|
|
901a: 46c0 nop ; \(mov r8, r8\)
|
|
#------------------------------------------------------------------------------
|
|
#------ f3's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
901c: e28fc600 add ip, pc, #0
|
|
9020: e28cca07 add ip, ip, #28672 ; 0x7000
|
|
9024: e5bcfff0 ldr pc, \[ip, #4080\]! ; 0xff0
|
|
#------------------------------------------------------------------------------
|
|
#------ thumb entry to f4's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
9028: 4778 bx pc
|
|
902a: 46c0 nop ; \(mov r8, r8\)
|
|
#------------------------------------------------------------------------------
|
|
#------ f4's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
902c: e28fc600 add ip, pc, #0
|
|
9030: e28cca07 add ip, ip, #28672 ; 0x7000
|
|
9034: e5bcffe4 ldr pc, \[ip, #4068\]! ; 0xfe4
|
|
#------------------------------------------------------------------------------
|
|
#------ thumb entry to f7
|
|
#------------------------------------------------------------------------------
|
|
9038: 4778 bx pc
|
|
903a: 46c0 nop ; \(mov r8, r8\)
|
|
|
|
0000903c <f7>:
|
|
903c: e28fc600 add ip, pc, #0
|
|
9040: e28cca07 add ip, ip, #28672 ; 0x7000
|
|
9044: e5bcffd8 ldr pc, \[ip, #4056\]! ; 0xfd8
|
|
|
|
00009048 <f5>:
|
|
9048: e28fc600 add ip, pc, #0
|
|
904c: e28cca07 add ip, ip, #28672 ; 0x7000
|
|
9050: e5bcffd0 ldr pc, \[ip, #4048\]! ; 0xfd0
|
|
#------------------------------------------------------------------------------
|
|
#------ thumb entry to f8
|
|
#------------------------------------------------------------------------------
|
|
9054: 4778 bx pc
|
|
9056: 46c0 nop ; \(mov r8, r8\)
|
|
|
|
00009058 <f8>:
|
|
9058: e28fc600 add ip, pc, #0
|
|
905c: e28cca07 add ip, ip, #28672 ; 0x7000
|
|
9060: e5bcffc4 ldr pc, \[ip, #4036\]! ; 0xfc4
|
|
|
|
00009064 <f6>:
|
|
9064: e28fc600 add ip, pc, #0
|
|
9068: e28cca07 add ip, ip, #28672 ; 0x7000
|
|
906c: e5bcffbc ldr pc, \[ip, #4028\]! ; 0xfbc
|
|
|
|
Disassembly of section \.text:
|
|
|
|
0000a000 <f1>:
|
|
a000: e1a0f00e mov pc, lr
|
|
|
|
0000a004 <f2>:
|
|
a004: 46f7 mov pc, lr
|
|
\.\.\.
|
|
|
|
0000a008 <f3>:
|
|
a008: e1a0f00e mov pc, lr
|
|
|
|
0000a00c <f4>:
|
|
a00c: 46f7 mov pc, lr
|
|
a00e: 0000 movs r0, r0
|
|
a010: e1a0f00e mov pc, lr
|
|
a014: 46f7 mov pc, lr
|
|
a016: 0000 movs r0, r0
|
|
a018: e1a0f00e mov pc, lr
|
|
a01c: 46f7 mov pc, lr
|
|
\.\.\.
|
|
|
|
0000a020 <_start>:
|
|
a020: eb0017f6 bl 10000 <foo>
|
|
a024: ea0017f5 b 10000 <foo>
|
|
a028: 0a0017f4 beq 10000 <foo>
|
|
a02c: e59f4014 ldr r4, \[pc, #20\] ; a048 <_start\+0x28>
|
|
a030: e59f4014 ldr r4, \[pc, #20\] ; a04c <_start\+0x2c>
|
|
a034: e59f4014 ldr r4, \[pc, #20\] ; a050 <_start\+0x30>
|
|
a038: e59f4014 ldr r4, \[pc, #20\] ; a054 <_start\+0x34>
|
|
a03c: e59f5014 ldr r5, \[pc, #20\] ; a058 <_start\+0x38>
|
|
a040: e3004000 movw r4, #0
|
|
a044: e3404001 movt r4, #1
|
|
#------------------------------------------------------------------------------
|
|
#------ foo
|
|
#------------------------------------------------------------------------------
|
|
a048: 00010000 \.word 0x00010000
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of foo
|
|
#------------------------------------------------------------------------------
|
|
a04c: 00005fb4 \.word 0x00005fb4
|
|
#------------------------------------------------------------------------------
|
|
#------ GP-relative offset of foo
|
|
#------------------------------------------------------------------------------
|
|
a050: fffff000 \.word 0xfffff000
|
|
#------------------------------------------------------------------------------
|
|
#------ .got offset for foo
|
|
#------------------------------------------------------------------------------
|
|
a054: 00000040 \.word 0x00000040
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of .got entry for foo
|
|
#------------------------------------------------------------------------------
|
|
a058: 00006fd4 \.word 0x00006fd4
|
|
#------------------------------------------------------------------------------
|
|
#------ f1's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a05c: ebfffbe7 bl 9000 <f7-0x3c>
|
|
#------------------------------------------------------------------------------
|
|
#------ f1's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a060: eafffbe6 b 9000 <f7-0x3c>
|
|
#------------------------------------------------------------------------------
|
|
#------ f1's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a064: 0afffbe5 beq 9000 <f7-0x3c>
|
|
a068: e59f4014 ldr r4, \[pc, #20\] ; a084 <_start\+0x64>
|
|
a06c: e59f4014 ldr r4, \[pc, #20\] ; a088 <_start\+0x68>
|
|
a070: e59f4014 ldr r4, \[pc, #20\] ; a08c <_start\+0x6c>
|
|
a074: e59f4014 ldr r4, \[pc, #20\] ; a090 <_start\+0x70>
|
|
a078: e59f5014 ldr r5, \[pc, #20\] ; a094 <_start\+0x74>
|
|
a07c: e3094000 movw r4, #36864 ; 0x9000
|
|
a080: e3404000 movt r4, #0
|
|
#------------------------------------------------------------------------------
|
|
#------ f1's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a084: 00009000 \.word 0x00009000
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of f1's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a088: ffffef78 \.word 0xffffef78
|
|
#------------------------------------------------------------------------------
|
|
#------ GP-relative offset of f1's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a08c: ffff8000 \.word 0xffff8000
|
|
#------------------------------------------------------------------------------
|
|
#------ .got offset for f1's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a090: 00000030 \.word 0x00000030
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of .got entry for f1's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a094: 00006f9c \.word 0x00006f9c
|
|
#------------------------------------------------------------------------------
|
|
#------ f2's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a098: ebfffbdb bl 900c <f7-0x30>
|
|
#------------------------------------------------------------------------------
|
|
#------ f2's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a09c: eafffbda b 900c <f7-0x30>
|
|
#------------------------------------------------------------------------------
|
|
#------ f2's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a0a0: 0afffbd9 beq 900c <f7-0x30>
|
|
a0a4: e59f4014 ldr r4, \[pc, #20\] ; a0c0 <_start\+0xa0>
|
|
a0a8: e59f4014 ldr r4, \[pc, #20\] ; a0c4 <_start\+0xa4>
|
|
a0ac: e59f4014 ldr r4, \[pc, #20\] ; a0c8 <_start\+0xa8>
|
|
a0b0: e59f4014 ldr r4, \[pc, #20\] ; a0cc <_start\+0xac>
|
|
a0b4: e59f5014 ldr r5, \[pc, #20\] ; a0d0 <_start\+0xb0>
|
|
a0b8: e309400c movw r4, #36876 ; 0x900c
|
|
a0bc: e3404000 movt r4, #0
|
|
#------------------------------------------------------------------------------
|
|
#------ f2's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a0c0: 0000900c \.word 0x0000900c
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of f2's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a0c4: ffffef48 \.word 0xffffef48
|
|
#------------------------------------------------------------------------------
|
|
#------ GP-relative offset of f2's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a0c8: ffff800c \.word 0xffff800c
|
|
#------------------------------------------------------------------------------
|
|
#------ .got offset for f2's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a0cc: 00000034 \.word 0x00000034
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of .got entry for f2's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a0d0: 00006f64 \.word 0x00006f64
|
|
a0d4: ebfffbdb bl 9048 <f5>
|
|
a0d8: eafffbda b 9048 <f5>
|
|
a0dc: 0afffbd9 beq 9048 <f5>
|
|
a0e0: e59f4014 ldr r4, \[pc, #20\] ; a0fc <_start\+0xdc>
|
|
a0e4: e59f4014 ldr r4, \[pc, #20\] ; a100 <_start\+0xe0>
|
|
a0e8: e59f4014 ldr r4, \[pc, #20\] ; a104 <_start\+0xe4>
|
|
a0ec: e59f4014 ldr r4, \[pc, #20\] ; a108 <_start\+0xe8>
|
|
a0f0: e59f5014 ldr r5, \[pc, #20\] ; a10c <_start\+0xec>
|
|
a0f4: e3094048 movw r4, #36936 ; 0x9048
|
|
a0f8: e3404000 movt r4, #0
|
|
#------------------------------------------------------------------------------
|
|
#------ f5
|
|
#------------------------------------------------------------------------------
|
|
a0fc: 00009048 \.word 0x00009048
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of f5
|
|
#------------------------------------------------------------------------------
|
|
a100: ffffef48 \.word 0xffffef48
|
|
#------------------------------------------------------------------------------
|
|
#------ GP-relative offset of f5
|
|
#------------------------------------------------------------------------------
|
|
a104: ffff8048 \.word 0xffff8048
|
|
#------------------------------------------------------------------------------
|
|
#------ .got offset for f5
|
|
#------------------------------------------------------------------------------
|
|
a108: 00000048 \.word 0x00000048
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of .got entry for f5
|
|
#------------------------------------------------------------------------------
|
|
a10c: 00006f3c \.word 0x00006f3c
|
|
a110: ebfffbd3 bl 9064 <f6>
|
|
a114: eafffbd2 b 9064 <f6>
|
|
a118: 0afffbd1 beq 9064 <f6>
|
|
a11c: e59f4014 ldr r4, \[pc, #20\] ; a138 <_start\+0x118>
|
|
a120: e59f4014 ldr r4, \[pc, #20\] ; a13c <_start\+0x11c>
|
|
a124: e59f4014 ldr r4, \[pc, #20\] ; a140 <_start\+0x120>
|
|
a128: e59f4014 ldr r4, \[pc, #20\] ; a144 <_start\+0x124>
|
|
a12c: e59f5014 ldr r5, \[pc, #20\] ; a148 <_start\+0x128>
|
|
a130: e3094064 movw r4, #36964 ; 0x9064
|
|
a134: e3404000 movt r4, #0
|
|
#------------------------------------------------------------------------------
|
|
#------ f6
|
|
#------------------------------------------------------------------------------
|
|
a138: 00009064 \.word 0x00009064
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of f6
|
|
#------------------------------------------------------------------------------
|
|
a13c: ffffef28 \.word 0xffffef28
|
|
#------------------------------------------------------------------------------
|
|
#------ GP-relative offset of f6
|
|
#------------------------------------------------------------------------------
|
|
a140: ffff8064 \.word 0xffff8064
|
|
#------------------------------------------------------------------------------
|
|
#------ .got offset for f6
|
|
#------------------------------------------------------------------------------
|
|
a144: 00000050 \.word 0x00000050
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of .got entry for f6
|
|
#------------------------------------------------------------------------------
|
|
a148: 00006f08 \.word 0x00006f08
|
|
|
|
0000a14c <_thumb>:
|
|
a14c: f005 ff58 bl 10000 <foo>
|
|
a150: f005 bf56 b\.w 10000 <foo>
|
|
a154: f005 8754 beq\.w 10000 <foo>
|
|
a158: 4c04 ldr r4, \[pc, #16\] ; \(a16c <_thumb\+0x20>\)
|
|
a15a: f8df 4014 ldr\.w r4, \[pc, #20\] ; a170 <_thumb\+0x24>
|
|
a15e: 4c05 ldr r4, \[pc, #20\] ; \(a174 <_thumb\+0x28>\)
|
|
a160: 4c05 ldr r4, \[pc, #20\] ; \(a178 <_thumb\+0x2c>\)
|
|
a162: 4d06 ldr r5, \[pc, #24\] ; \(a17c <_thumb\+0x30>\)
|
|
a164: f240 0400 movw r4, #0
|
|
a168: f2c0 0401 movt r4, #1
|
|
#------------------------------------------------------------------------------
|
|
#------ foo
|
|
#------------------------------------------------------------------------------
|
|
a16c: 00010000 \.word 0x00010000
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of foo
|
|
#------------------------------------------------------------------------------
|
|
a170: 00005e90 \.word 0x00005e90
|
|
#------------------------------------------------------------------------------
|
|
#------ GP-relative offset of foo
|
|
#------------------------------------------------------------------------------
|
|
a174: fffff000 \.word 0xfffff000
|
|
#------------------------------------------------------------------------------
|
|
#------ .got offset for foo
|
|
#------------------------------------------------------------------------------
|
|
a178: 00000040 \.word 0x00000040
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of .got entry for foo
|
|
#------------------------------------------------------------------------------
|
|
a17c: 00006eb0 \.word 0x00006eb0
|
|
#------------------------------------------------------------------------------
|
|
#------ f3's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a180: f7fe ef4c blx 901c <f7-0x20>
|
|
#------------------------------------------------------------------------------
|
|
#------ thumb entry to f3's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a184: f7fe bf48 b\.w 9018 <f7-0x24>
|
|
#------------------------------------------------------------------------------
|
|
#------ thumb entry to f3's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a188: f43e af46 beq\.w 9018 <f7-0x24>
|
|
a18c: 4c04 ldr r4, \[pc, #16\] ; \(a1a0 <_thumb\+0x54>\)
|
|
a18e: f8df 4014 ldr\.w r4, \[pc, #20\] ; a1a4 <_thumb\+0x58>
|
|
a192: 4c05 ldr r4, \[pc, #20\] ; \(a1a8 <_thumb\+0x5c>\)
|
|
a194: 4c05 ldr r4, \[pc, #20\] ; \(a1ac <_thumb\+0x60>\)
|
|
a196: 4d06 ldr r5, \[pc, #24\] ; \(a1b0 <_thumb\+0x64>\)
|
|
a198: f249 041c movw r4, #36892 ; 0x901c
|
|
a19c: f2c0 0400 movt r4, #0
|
|
#------------------------------------------------------------------------------
|
|
#------ f3's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a1a0: 0000901c \.word 0x0000901c
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of f3's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a1a4: ffffee78 \.word 0xffffee78
|
|
#------------------------------------------------------------------------------
|
|
#------ GP-relative offset of f3's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a1a8: ffff801c \.word 0xffff801c
|
|
#------------------------------------------------------------------------------
|
|
#------ .got offset for f3's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a1ac: 00000038 \.word 0x00000038
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of .got entry for f3's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a1b0: 00006e88 \.word 0x00006e88
|
|
#------------------------------------------------------------------------------
|
|
#------ f4's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a1b4: f7fe ef3a blx 902c <f7-0x10>
|
|
#------------------------------------------------------------------------------
|
|
#------ thumb entry to f4's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a1b8: f7fe bf36 b\.w 9028 <f7-0x14>
|
|
#------------------------------------------------------------------------------
|
|
#------ thumb entry to f4's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a1bc: f43e af34 beq\.w 9028 <f7-0x14>
|
|
a1c0: 4c04 ldr r4, \[pc, #16\] ; \(a1d4 <_thumb\+0x88>\)
|
|
a1c2: f8df 4014 ldr\.w r4, \[pc, #20\] ; a1d8 <_thumb\+0x8c>
|
|
a1c6: 4c05 ldr r4, \[pc, #20\] ; \(a1dc <_thumb\+0x90>\)
|
|
a1c8: 4c05 ldr r4, \[pc, #20\] ; \(a1e0 <_thumb\+0x94>\)
|
|
a1ca: 4d06 ldr r5, \[pc, #24\] ; \(a1e4 <_thumb\+0x98>\)
|
|
a1cc: f249 042c movw r4, #36908 ; 0x902c
|
|
a1d0: f2c0 0400 movt r4, #0
|
|
#------------------------------------------------------------------------------
|
|
#------ f4's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a1d4: 0000902c \.word 0x0000902c
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of f4's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a1d8: ffffee54 \.word 0xffffee54
|
|
#------------------------------------------------------------------------------
|
|
#------ GP-relative offset of f4's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a1dc: ffff802c \.word 0xffff802c
|
|
#------------------------------------------------------------------------------
|
|
#------ .got offset for f4's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a1e0: 0000003c \.word 0x0000003c
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of .got entry for f4's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
a1e4: 00006e58 \.word 0x00006e58
|
|
a1e8: f7fe ef28 blx 903c <f7>
|
|
#------------------------------------------------------------------------------
|
|
#------ thumb entry to f7
|
|
#------------------------------------------------------------------------------
|
|
a1ec: f7fe bf24 b\.w 9038 <f7-0x4>
|
|
#------------------------------------------------------------------------------
|
|
#------ thumb entry to f7
|
|
#------------------------------------------------------------------------------
|
|
a1f0: f43e af22 beq\.w 9038 <f7-0x4>
|
|
a1f4: 4c04 ldr r4, \[pc, #16\] ; \(a208 <_thumb\+0xbc>\)
|
|
a1f6: f8df 4014 ldr\.w r4, \[pc, #20\] ; a20c <_thumb\+0xc0>
|
|
a1fa: 4c05 ldr r4, \[pc, #20\] ; \(a210 <_thumb\+0xc4>\)
|
|
a1fc: 4c05 ldr r4, \[pc, #20\] ; \(a214 <_thumb\+0xc8>\)
|
|
a1fe: 4d06 ldr r5, \[pc, #24\] ; \(a218 <_thumb\+0xcc>\)
|
|
a200: f249 043c movw r4, #36924 ; 0x903c
|
|
a204: f2c0 0400 movt r4, #0
|
|
#------------------------------------------------------------------------------
|
|
#------ f7
|
|
#------------------------------------------------------------------------------
|
|
a208: 0000903c \.word 0x0000903c
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of f7
|
|
#------------------------------------------------------------------------------
|
|
a20c: ffffee30 \.word 0xffffee30
|
|
#------------------------------------------------------------------------------
|
|
#------ GP-relative offset of f7
|
|
#------------------------------------------------------------------------------
|
|
a210: ffff803c \.word 0xffff803c
|
|
#------------------------------------------------------------------------------
|
|
#------ .got offset for f7
|
|
#------------------------------------------------------------------------------
|
|
a214: 00000044 \.word 0x00000044
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of .got entry for f7
|
|
#------------------------------------------------------------------------------
|
|
a218: 00006e2c \.word 0x00006e2c
|
|
a21c: f7fe ef1c blx 9058 <f8>
|
|
#------------------------------------------------------------------------------
|
|
#------ thumb entry to f8
|
|
#------------------------------------------------------------------------------
|
|
a220: f7fe bf18 b\.w 9054 <f5\+0xc>
|
|
#------------------------------------------------------------------------------
|
|
#------ thumb entry to f8
|
|
#------------------------------------------------------------------------------
|
|
a224: f43e af16 beq\.w 9054 <f5\+0xc>
|
|
a228: 4c04 ldr r4, \[pc, #16\] ; \(a23c <_thumb\+0xf0>\)
|
|
a22a: f8df 4014 ldr\.w r4, \[pc, #20\] ; a240 <_thumb\+0xf4>
|
|
a22e: 4c05 ldr r4, \[pc, #20\] ; \(a244 <_thumb\+0xf8>\)
|
|
a230: 4c05 ldr r4, \[pc, #20\] ; \(a248 <_thumb\+0xfc>\)
|
|
a232: 4d06 ldr r5, \[pc, #24\] ; \(a24c <_thumb\+0x100>\)
|
|
a234: f249 0458 movw r4, #36952 ; 0x9058
|
|
a238: f2c0 0400 movt r4, #0
|
|
#------------------------------------------------------------------------------
|
|
#------ f8
|
|
#------------------------------------------------------------------------------
|
|
a23c: 00009058 \.word 0x00009058
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of f8
|
|
#------------------------------------------------------------------------------
|
|
a240: ffffee18 \.word 0xffffee18
|
|
#------------------------------------------------------------------------------
|
|
#------ GP-relative offset of f8
|
|
#------------------------------------------------------------------------------
|
|
a244: ffff8058 \.word 0xffff8058
|
|
#------------------------------------------------------------------------------
|
|
#------ .got offset for f8
|
|
#------------------------------------------------------------------------------
|
|
a248: 0000004c \.word 0x0000004c
|
|
#------------------------------------------------------------------------------
|
|
#------ PC-relative offset of .got entry for f8
|
|
#------------------------------------------------------------------------------
|
|
a24c: 00006e00 \.word 0x00006e00
|