mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
8a52f0d983
Fix all the cases where endianness needs to be taken into account in the ARM ld dump tests. ld/testsuite/ChangeLog: 2014-04-23 Will Newton <will.newton@linaro.org> * ld-arm/arm-no-rel-plt.ld: Remove OUTPUT_FORMAT and SEARCH_DIR commands. * ld-arm/arm-rel32.d: Update regexps to allow test to pass on armeb-linux-eabi configuration. * ld-arm/data-only-map.d: Likewise. * ld-arm/fix-arm1176-off.d: Likewise. * ld-arm/fix-arm1176-on.d: Likewise. * ld-arm/ifunc-1.gd: Likewise. * ld-arm/ifunc-10.gd: Likewise. * ld-arm/ifunc-11.gd: Likewise. * ld-arm/ifunc-12.gd: Likewise. * ld-arm/ifunc-13.gd: Likewise. * ld-arm/ifunc-14.gd: Likewise. * ld-arm/ifunc-15.gd: Likewise. * ld-arm/ifunc-16.gd: Likewise. * ld-arm/ifunc-17.gd: Likewise. * ld-arm/ifunc-2.gd: Likewise. * ld-arm/ifunc-3.gd: Likewise. * ld-arm/ifunc-4.gd: Likewise. * ld-arm/ifunc-5.gd: Likewise. * ld-arm/ifunc-6.gd: Likewise. * ld-arm/ifunc-7.gd: Likewise. * ld-arm/ifunc-8.gd: Likewise. * ld-arm/ifunc-9.gd: Likewise. * ld-arm/jump-reloc-veneers-long.d: Likewise. * ld-arm/reloc-boundaries.d: Likewise.
46 lines
2.5 KiB
GDScript
46 lines
2.5 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: f2 [R_ARM_ABS32]
|
|
#------ 00010018: f2 [R_ARM_REL32]
|
|
#------ 0001001c: contains f3 [R_ARM_IRELATIVE]
|
|
#------------------------------------------------------------------------------
|
|
10010 (1090ffff 00000000 00000000 08a00000|ffff9010 00000000 00000000 0000a008) .*
|
|
#------------------------------------------------------------------------------
|
|
#------ 00010020: contains PC-relative offset of f3's .iplt entry
|
|
#------ 00010024: f4 [R_ARM_ABS32]
|
|
#------ 00010028: contains PC-relative offset of f4's .iplt entry
|
|
#------------------------------------------------------------------------------
|
|
10020 (0c90ffff 00000000 1090ffff|ffff900c 00000000 ffff9010) .*
|
|
Contents of section \.got:
|
|
#------------------------------------------------------------------------------
|
|
#------ 00011000: .got.plt
|
|
#------ 00011004: reserved .got.plt entry
|
|
#------ 00011008: reserved .got.plt entry
|
|
#------ 0001100c: f2's .got.plt entry [R_ARM_JUMP_SLOT]
|
|
#------------------------------------------------------------------------------
|
|
11000 (00200100 00000000 00000000 00900000|00012000 00000000 00000000 00009000) .*
|
|
#------------------------------------------------------------------------------
|
|
#------ 00011010: f1's .igot.plt entry [R_ARM_IRELATIVE]
|
|
#------ 00011014: f3's .igot.plt entry [R_ARM_IRELATIVE]
|
|
#------ 00011018: f4's .igot.plt entry [R_ARM_IRELATIVE]
|
|
#------ 0001101c: .got entry for foo [R_ARM_RELATIVE]
|
|
#------------------------------------------------------------------------------
|
|
11010 (00a00000 08a00000 0ca00000 00000100|0000a000 0000a008 0000a00c 00010000) .*
|
|
#------------------------------------------------------------------------------
|
|
#------ 00011020: .got entry for foo [R_ARM_RELATIVE]
|
|
#------ 00011024: .got entry for f2 [R_ARM_GLOB_DAT]
|
|
#------ 00011028: .got entry for f4 [R_ARM_GLOB_DAT]
|
|
#------------------------------------------------------------------------------
|
|
11020 (00000100|00010000) 00000000 00000000 .*
|