1 2 .* 3 4 Contents of section \.data: 5 #------------------------------------------------------------------------------ 6 #------ 00010000: foo 7 #------ 00010004: contains foo [R_ARM_RELATIVE] 8 #------ 00010008: contains PC-relative offset of foo 9 #------ 0001000c: contains f1 [R_ARM_IRELATIVE] 10 #------------------------------------------------------------------------------ 11 10000 (44332211 00000100 f8ffffff 00a00000|11223344 00010000 fffffff8 0000a000) .* 12 #------------------------------------------------------------------------------ 13 #------ 00010010: contains PC-relative offset of f1's .iplt entry 14 #------ 00010014: f2 [R_ARM_ABS32] 15 #------ 00010018: f2 [R_ARM_REL32] 16 #------ 0001001c: contains f3 [R_ARM_IRELATIVE] 17 #------------------------------------------------------------------------------ 18 10010 (1090ffff 00000000 00000000 08a00000|ffff9010 00000000 00000000 0000a008) .* 19 #------------------------------------------------------------------------------ 20 #------ 00010020: contains PC-relative offset of f3's .iplt entry 21 #------ 00010024: f4 [R_ARM_ABS32] 22 #------ 00010028: contains PC-relative offset of f4's .iplt entry 23 #------------------------------------------------------------------------------ 24 10020 (0c90ffff 00000000 1090ffff|ffff900c 00000000 ffff9010) .* 25 Contents of section \.got: 26 #------------------------------------------------------------------------------ 27 #------ 00011000: .got.plt 28 #------ 00011004: reserved .got.plt entry 29 #------ 00011008: reserved .got.plt entry 30 #------ 0001100c: f2's .got.plt entry [R_ARM_JUMP_SLOT] 31 #------------------------------------------------------------------------------ 32 11000 (00200100 00000000 00000000 00900000|00012000 00000000 00000000 00009000) .* 33 #------------------------------------------------------------------------------ 34 #------ 00011010: f1's .igot.plt entry [R_ARM_IRELATIVE] 35 #------ 00011014: f3's .igot.plt entry [R_ARM_IRELATIVE] 36 #------ 00011018: f4's .igot.plt entry [R_ARM_IRELATIVE] 37 #------ 0001101c: .got entry for foo [R_ARM_RELATIVE] 38 #------------------------------------------------------------------------------ 39 11010 (00a00000 08a00000 0ca00000 00000100|0000a000 0000a008 0000a00c 00010000) .* 40 #------------------------------------------------------------------------------ 41 #------ 00011020: .got entry for foo [R_ARM_RELATIVE] 42 #------ 00011024: .got entry for f2 [R_ARM_GLOB_DAT] 43 #------ 00011028: .got entry for f4 [R_ARM_GLOB_DAT] 44 #------------------------------------------------------------------------------ 45 11020 (00000100|00010000) 00000000 00000000 .* 46