old-cross-binutils/ld/testsuite/ld-arm/ifunc-7.gd
Jiong Wang 52db4ec2d1 [ARM] Reject R_ARM_REL32 when trying to defer it to runtime
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.
2015-01-14 19:11:54 +00:00

31 lines
1.6 KiB
GDScript

.*
Contents of section \.data:
#------------------------------------------------------------------------------
#------ 00010000: foo
#------ 00010004: contains foo [R_ARM_RELATIVE]
#------ 00010008: contains PC-relative offset of foo
#------ 0001000c: contains f1 [R_ARM_IRELATIVE]
#------------------------------------------------------------------------------
10000 (44332211 00000100 f8ffffff 00a00000|11223344 00010000 fffffff8 0000a000) .*
#------------------------------------------------------------------------------
#------ 00010010: contains PC-relative offset of f1's .iplt entry
#------ 00010014: contains f3 [R_ARM_IRELATIVE]
#------ 00010018: contains PC-relative offset of f3's .iplt entry
#------------------------------------------------------------------------------
10010 (f08fffff 04a00000 f48fffff|ffff8ff0 0000a004 ffff8ff4) .*
Contents of section \.got:
#------------------------------------------------------------------------------
#------ 00011000: .got.plt
#------ 00011004: reserved .got.plt entry
#------ 00011008: reserved .got.plt entry
#------ 0001100c: f1's .igot.plt entry [R_ARM_IRELATIVE]
#------------------------------------------------------------------------------
11000 (00200100 00000000 00000000 00a00000|00012000 00000000 00000000 0000a000) .*
#------------------------------------------------------------------------------
#------ 00011010: f3's .igot.plt entry [R_ARM_IRELATIVE]
#------ 00011014: .got entry for foo [R_ARM_RELATIVE]
#------ 00011018: .got entry for foo [R_ARM_RELATIVE]
#------------------------------------------------------------------------------
11010 (04a00000 00000100 00000100|0000a004 00010000 00010000) .*