06cf26beff
Remove userland related stuff from ld.script, they are not required for zImage use wildcards for some sections. Signed-off-by: Olaf Hering <olh@suse.de> Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org> Cc: Anton Blanchard <anton@samba.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
41 lines
578 B
Text
41 lines
578 B
Text
OUTPUT_ARCH(powerpc:common)
|
|
SECTIONS
|
|
{
|
|
.text :
|
|
{
|
|
*(.text)
|
|
*(.fixup)
|
|
}
|
|
_etext = .;
|
|
. = ALIGN(4096);
|
|
.data :
|
|
{
|
|
*(.rodata*)
|
|
*(.data*)
|
|
*(.sdata*)
|
|
*(.got*)
|
|
}
|
|
|
|
. = ALIGN(4096);
|
|
_vmlinux_start = .;
|
|
.kernel:vmlinux.strip : { *(.kernel:vmlinux.strip) }
|
|
_vmlinux_end = .;
|
|
|
|
. = ALIGN(4096);
|
|
_initrd_start = .;
|
|
.kernel:initrd : { *(.kernel:initrd) }
|
|
_initrd_end = .;
|
|
|
|
. = ALIGN(4096);
|
|
_edata = .;
|
|
|
|
. = ALIGN(4096);
|
|
__bss_start = .;
|
|
.bss :
|
|
{
|
|
*(.sbss)
|
|
*(.bss)
|
|
}
|
|
. = ALIGN(4096);
|
|
_end = . ;
|
|
}
|