Avoid "ASCII armor" area below 16MB (0x01000000) for exec-shield and
pre-linked PT_INTERP such as ld-linux.so.2 l_lx_elf86.asm l_lx_elf86.lds l_lx_sh86.asm l_lx_sh86.lds committer: jreiser <jreiser> 1084925700 +0000
This commit is contained in:
@@ -38,8 +38,8 @@ PHDRS /* force exactly 1 ELF32_Phdr: in particular, no PT_GNU_STACK */
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
/* 0x00800000: avoid 0x00400000 for shell itself being compressed */
|
||||
. = 0x00800000 + SIZEOF_HEADERS;
|
||||
/* 0x01400000: avoid 0x01000000 for shell itself being compressed */
|
||||
. = 0x01400000 + SIZEOF_HEADERS;
|
||||
. = ALIGN(0x80);
|
||||
.data : { /* put everything together in one Phdr */
|
||||
*(.text)
|
||||
|
||||
Reference in New Issue
Block a user