
Move .got .got.plt before .data so .got can be protected with -zrelro. And the first two entries of .got.plt (_dl_runtime_resolve and link map) are placed within the relro region.
6 lines
57 B
ArmAsm
6 lines
57 B
ArmAsm
.text
|
|
b foo
|
|
.section .got
|
|
.space 0x2a8, 4
|
|
.data
|
|
.zero 24
|