4 * First stage BIOS loader for Open Hack'Ware linker script.
6 * Copyright (C) 2004-2005 Jocelyn Mayer (l_indien@magic.fr)
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License V2
10 * as published by the Free Software Foundation
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
22 OUTPUT_ARCH(powerpc:common)
26 /* NOTE: some old ld do not support wrapping to zero,
27 so we set a dummy address different from 0xFFFFFE00 */
28 rom (rx) : ORIGIN = 0xEFFFFE00, LENGTH = 512
33 .rom : { *(.rom) } > rom
34 /DISCARD/ : { *(.text) }
35 /DISCARD/ : { *(.rodata) }
36 /DISCARD/ : { *(.data) }
37 /DISCARD/ : { *(.bss) }
38 /DISCARD/ : { *(.sbss) }
39 /DISCARD/ : { *(.sdata) }
40 /DISCARD/ : { *(.sdata2) }
41 /DISCARD/ : { *(.stab) }
42 /DISCARD/ : { *(.stabstr) }
43 /DISCARD/ : { *(.comment) }
44 /DISCARD/ : { *(.note) }