1 2 .* 3 4 5 Disassembly of section \.plt: 6 7 00009000 <f2@plt-0x14>: 8 9000: e52de004 push {lr} ; \(str lr, \[sp, #-4\]!\) 9 9004: e59fe004 ldr lr, \[pc, #4\] ; 9010 <f2@plt-0x4> 10 9008: e08fe00e add lr, pc, lr 11 900c: e5bef008 ldr pc, \[lr, #8\]! 12 #------------------------------------------------------------------------------ 13 #------ PC-relative offset of .got.plt 14 #------------------------------------------------------------------------------ 15 9010: 00007ff0 \.word 0x00007ff0 16 #------------------------------------------------------------------------------ 17 #------ f2's .plt entry 18 #------------------------------------------------------------------------------ 19 00009014 <f2@plt>: 20 9014: e28fc600 add ip, pc, #0, 12 21 9018: e28cca07 add ip, ip, #28672 ; 0x7000 22 901c: e5bcfff0 ldr pc, \[ip, #4080\]! ; 0xff0 23 24 Disassembly of section \.iplt: 25 26 00009020 <\.iplt>: 27 #------------------------------------------------------------------------------ 28 #------ f1's .iplt entry 29 #------------------------------------------------------------------------------ 30 9020: e28fc600 add ip, pc, #0, 12 31 9024: e28cca07 add ip, ip, #28672 ; 0x7000 32 9028: e5bcffe8 ldr pc, \[ip, #4072\]! ; 0xfe8 33 #------------------------------------------------------------------------------ 34 #------ f3's .iplt entry 35 #------------------------------------------------------------------------------ 36 902c: e28fc600 add ip, pc, #0, 12 37 9030: e28cca07 add ip, ip, #28672 ; 0x7000 38 9034: e5bcffe0 ldr pc, \[ip, #4064\]! ; 0xfe0 39 #------------------------------------------------------------------------------ 40 #------ f4's .iplt entry 41 #------------------------------------------------------------------------------ 42 9038: e28fc600 add ip, pc, #0, 12 43 903c: e28cca07 add ip, ip, #28672 ; 0x7000 44 9040: e5bcffd8 ldr pc, \[ip, #4056\]! ; 0xfd8 45 46 Disassembly of section \.text: 47 48 0000a000 <f1>: 49 a000: e1a0f00e mov pc, lr 50 51 0000a004 <f2>: 52 a004: e1a0f00e mov pc, lr 53 54 0000a008 <f3>: 55 a008: e1a0f00e mov pc, lr 56 57 0000a00c <f4>: 58 a00c: e1a0f00e mov pc, lr 59 60 0000a010 <arm>: 61 a010: eb0017fa bl 10000 <foo> 62 a014: e59f4000 ldr r4, \[pc\] ; a01c <arm\+0xc> 63 a018: e59f4000 ldr r4, \[pc\] ; a020 <arm\+0x10> 64 #------------------------------------------------------------------------------ 65 #------ .got offset for foo 66 #------------------------------------------------------------------------------ 67 a01c: 00000020 \.word 0x00000020 68 #------------------------------------------------------------------------------ 69 #------ PC-relative offset of .got entry for foo 70 #------------------------------------------------------------------------------ 71 a020: 00006ffc \.word 0x00006ffc 72 #------------------------------------------------------------------------------ 73 #------ f1's .iplt entry 74 #------------------------------------------------------------------------------ 75 a024: ebfffbfd bl 9020 <f2@plt\+0xc> 76 a028: e59f4000 ldr r4, \[pc\] ; a030 <arm\+0x20> 77 a02c: e59f4000 ldr r4, \[pc\] ; a034 <arm\+0x24> 78 #------------------------------------------------------------------------------ 79 #------ GP-relative offset of f1's .igot.plt entry 80 #------------------------------------------------------------------------------ 81 a030: 00000010 \.word 0x00000010 82 #------------------------------------------------------------------------------ 83 #------ PC-relative offset of f1's .igot.plt entry 84 #------------------------------------------------------------------------------ 85 a034: 00006fdc \.word 0x00006fdc 86 #------------------------------------------------------------------------------ 87 #------ f2's .plt entry 88 #------------------------------------------------------------------------------ 89 a038: ebfffbf5 bl 9014 <f2@plt> 90 a03c: e59f4000 ldr r4, \[pc\] ; a044 <arm\+0x34> 91 a040: e59f4000 ldr r4, \[pc\] ; a048 <arm\+0x38> 92 #------------------------------------------------------------------------------ 93 #------ .got offset for f2 94 #------------------------------------------------------------------------------ 95 a044: 00000024 \.word 0x00000024 96 #------------------------------------------------------------------------------ 97 #------ PC-relative offset of .got entry for f2 98 #------------------------------------------------------------------------------ 99 a048: 00006fdc \.word 0x00006fdc 100 #------------------------------------------------------------------------------ 101 #------ f3's .iplt entry 102 #------------------------------------------------------------------------------ 103 a04c: ebfffbf6 bl 902c <f2@plt\+0x18> 104 a050: e59f4000 ldr r4, \[pc\] ; a058 <arm\+0x48> 105 a054: e59f4000 ldr r4, \[pc\] ; a05c <arm\+0x4c> 106 #------------------------------------------------------------------------------ 107 #------ GP-relative offset of f3's .igot.plt entry 108 #------------------------------------------------------------------------------ 109 a058: 00000014 \.word 0x00000014 110 #------------------------------------------------------------------------------ 111 #------ PC-relative offset of f3's .igot.plt entry 112 #------------------------------------------------------------------------------ 113 a05c: 00006fb8 \.word 0x00006fb8 114 #------------------------------------------------------------------------------ 115 #------ f4's .iplt entry 116 #------------------------------------------------------------------------------ 117 a060: ebfffbf4 bl 9038 <f2@plt\+0x24> 118 a064: e59f4000 ldr r4, \[pc\] ; a06c <arm\+0x5c> 119 a068: e59f4000 ldr r4, \[pc\] ; a070 <arm\+0x60> 120 #------------------------------------------------------------------------------ 121 #------ .got offset for f4 122 #------------------------------------------------------------------------------ 123 a06c: 00000028 \.word 0x00000028 124 #------------------------------------------------------------------------------ 125 #------ PC-relative offset of .got entry for f4 126 #------------------------------------------------------------------------------ 127 a070: 00006fb8 \.word 0x00006fb8 128