1
/* l_lx_elf64amd.lds -- static linker script to build l_lx_elf64amd.bin
3
This file is part of the UPX executable compressor.
5
Copyright (C) 2000-2005 John F. Reiser
8
UPX and the UCL library are free software; you can redistribute them
9
and/or modify them under the terms of the GNU General Public License as
10
published by the Free Software Foundation; either version 2 of
11
the License, or (at your option) any later version.
13
This program is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU General Public License for more details.
18
You should have received a copy of the GNU General Public License
19
along with this program; see the file COPYING.
20
If not, write to the Free Software Foundation, Inc.,
21
59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23
Markus F.X.J. Oberhumer Laszlo Molnar
24
<mfx@users.sourceforge.net> <ml1050@users.sourceforge.net>
27
<jreiser@users.sourceforge.net>
31
OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", "elf64-x86-64")
32
OUTPUT_ARCH(i386:x86-64)
36
text PT_LOAD FILEHDR PHDRS FLAGS ( 5 ) ; /* r-x (no -w-) */
37
data PT_LOAD ; /* for setting brk(0) */
41
. = 0x00100000 + SIZEOF_HEADERS + 12; /* 12==sizeof(l_info) */