patch-2.1.48 linux/arch/ppc/ld.script
Next file: linux/arch/ppc/lib/Makefile
Previous file: linux/arch/ppc/kernel/usercpy.c
Back to the patch index
Back to the overall index
- Lines: 66
- Date:
Thu Jul 31 13:09:17 1997
- Orig file:
v2.1.47/linux/arch/ppc/ld.script
- Orig date:
Mon May 27 02:00:58 1996
diff -u --recursive --new-file v2.1.47/linux/arch/ppc/ld.script linux/arch/ppc/ld.script
@@ -31,12 +31,16 @@
.text :
{
*(.text)
- *(.rodata)
- *(.rodata1)
+ *(.fixup)
*(.got1)
}
_etext = .;
PROVIDE (etext = .);
+ .rodata :
+ {
+ *(.rodata)
+ *(.rodata1)
+ }
.fini : { *(.fini) } =0
.ctors : { *(.ctors) }
.dtors : { *(.dtors) }
@@ -45,31 +49,33 @@
.data :
{
*(.data)
+ *(.data1)
+ *(.sdata)
+ *(.sdata2)
+ *(.got.plt) *(.got)
+ *(.dynamic)
CONSTRUCTORS
}
- .data1 : { *(.data1) }
- .got : { *(.got.plt) *(.got) }
- .dynamic : { *(.dynamic) }
- /* We want the small data sections together, so single-instruction offsets
- can access them all, and initialized data all before uninitialized, so
- we can shorten the on-disk segment size. */
- .sdata : { *(.sdata) }
_edata = .;
+/*
+ . = ALIGN(4096);
+ __init_begin = .;
+ .text.init : { *(.text.init) }
+ .data.init : { *(.data.init) }
+ . = ALIGN(4096);
+ __init_end = .;
+*/
+ __bss_start = .; /* BSS */
PROVIDE (edata = .);
__bss_start = .;
- .sbss : { *(.sbss) *(.scommon) }
.bss :
{
+ *(.sbss) *(.scommon)
*(.dynbss)
*(.bss)
*(COMMON)
}
_end = . ;
PROVIDE (end = .);
- /* These are needed for ELF backends which have not yet been
- converted to the new style linker. */
- .stab 0 : { *(.stab) }
- .stabstr 0 : { *(.stabstr) }
- /* These must appear regardless of . */
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov