1
0
mirror of https://github.com/0xAX/linux-insides.git synced 2024-12-22 14:48:08 +00:00

Update linkers.md

This commit is contained in:
0xAX 2016-03-09 00:57:20 +06:00
parent deaca1334a
commit 318ef2a2cd

View File

@ -118,11 +118,11 @@ $ objdump -S -r main.o
... ...
14: e8 00 00 00 00 callq 19 <main+0x19> 14: e8 00 00 00 00 callq 19 <main+0x19>
15: R_X86_64_PC32 factorial-0x4 15: R_X86_64_PC32 factorial-0x4
19: 89 c6 mov %eax,%esi 19: 89 c6 mov %eax,%esi
... ...
25: e8 00 00 00 00 callq 2a <main+0x2a> 25: e8 00 00 00 00 callq 2a <main+0x2a>
26: R_X86_64_PC32 printf-0x4 26: R_X86_64_PC32 printf-0x4
2a: b8 00 00 00 00 mov $0x0,%eax 2a: b8 00 00 00 00 mov $0x0,%eax
... ...
``` ```
@ -136,7 +136,7 @@ Relocation is the process of connecting symbolic references with symbolic defini
``` ```
14: e8 00 00 00 00 callq 19 <main+0x19> 14: e8 00 00 00 00 callq 19 <main+0x19>
15: R_X86_64_PC32 factorial-0x4 15: R_X86_64_PC32 factorial-0x4
19: 89 c6 mov %eax,%esi 19: 89 c6 mov %eax,%esi
``` ```