775 B
lib_pic_gcc.o vs.
lib_pie_gcc.o
749 B
objdump --line-numbers --disassemble --demangle --section=.text {}
Offset 15, 14 lines modifiedOffset 15, 14 lines modified
15 ··​15:​»       ​5d···················»       ​pop····​%rbp15 ··​15:​»       ​5d···················»       ​pop····​%rbp
16 ··​16:​»       ​c3···················»       ​retq···16 ··​16:​»       ​c3···················»       ​retq···
  
17 0000000000000017·​<lib_function2>:​17 0000000000000017·​<lib_function2>:​
18 lib_function2()​:​18 lib_function2()​:​
19 ··​17:​»       ​55···················»       ​push···​%rbp19 ··​17:​»       ​55···················»       ​push···​%rbp
20 ··​18:​»       ​48·​89·​e5·············»       ​mov····​%rsp,​%rbp20 ··​18:​»       ​48·​89·​e5·············»       ​mov····​%rsp,​%rbp
21 ··​1b:​»       ​48·​83·​ec·10··········»       ​sub····​$0x10,​%rsp21 ··​1b:​»       ​48·​83·​ec·08··········»       ​sub····​$0x8,​%rsp
22 ··​1f:​»       ​89·​7d·​fc·············»       ​mov····​%edi,​-​0x4(%rbp)​22 ··​1f:​»       ​89·​7d·​fc·············»       ​mov····​%edi,​-​0x4(%rbp)​
23 ··​22:​»       ​8b·​45·​fc·············»       ​mov····​-​0x4(%rbp)​,​%eax23 ··​22:​»       ​8b·​45·​fc·············»       ​mov····​-​0x4(%rbp)​,​%eax
24 ··​25:​»       ​89·​c7················»       ​mov····​%eax,​%edi24 ··​25:​»       ​89·​c7················»       ​mov····​%eax,​%edi
25 ··​27:​»       ​e8·​00·​00·​00·​00·······»       ​callq··​2c·​<lib_function2+0x15>25 ··​27:​»       ​e8·​00·​00·​00·​00·······»       ​callq··​2c·​<lib_function2+0x15>
26 ··​2c:​»       ​c9···················»       ​leaveq·26 ··​2c:​»       ​c9···················»       ​leaveq·
27 ··​2d:​»       ​c3···················»       ​retq···27 ··​2d:​»       ​c3···················»       ​retq···