1
0
mirror of https://github.com/upx/upx synced 2025-09-28 19:06:07 +08:00

adapt to binutils-of-the-moment

committer: jreiser <jreiser> 1027548985 +0000
This commit is contained in:
John Reiser 2002-07-24 22:16:25 +00:00
parent a08b3ee882
commit f1ccb85658

View File

@ -32,8 +32,6 @@ PHDRS
{ {
text PT_LOAD FILEHDR PHDRS ; text PT_LOAD FILEHDR PHDRS ;
data PT_LOAD ; /* for setting brk(0) */ data PT_LOAD ; /* for setting brk(0) */
/* 3rd Phdr was not worth it; use "upx -d" first, then apply ldd */
/*null PT_NULL;*/ /* changed to PT_DYNAMIC for ldd */
} }
SECTIONS SECTIONS
{ {
@ -43,9 +41,6 @@ SECTIONS
*(.text) *(.text)
*(.data) *(.data)
} : text } : text
/* 0x08048000: customary Linux/x86 Elf .text start */
/* PackLinuxI386::buildLinuxLoader will overwrite the address anyway. */
. = 0x08048000 + (0xfff & .);
.data : { .data : {
} : data } : data
} }