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:
John Reiser
2004-05-19 00:15:00 +00:00
parent aee150474c
commit 9769599f1d
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -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)