* scripttempl/aix.sc: Move special symbols inside sections.

Always start .data at 0.
This commit is contained in:
Ian Lance Taylor 1995-10-26 18:12:41 +00:00
parent e89929cd79
commit 328e5a48e8
2 changed files with 12 additions and 7 deletions

View file

@ -1,3 +1,8 @@
Thu Oct 26 14:11:26 1995 Ian Lance Taylor <ian@cygnus.com>
* scripttempl/aix.sc: Move special symbols inside sections.
Always start .data at 0.
Wed Oct 25 11:52:12 1995 Per Bothner <bothner@kalessin.cygnus.com> Wed Oct 25 11:52:12 1995 Per Bothner <bothner@kalessin.cygnus.com>
* Makefile.in (diststuff): Also make info. * Makefile.in (diststuff): Also make info.

View file

@ -10,8 +10,8 @@ ENTRY(__start)
SECTIONS SECTIONS
{ {
.pad 0 : { *(.pad) } .pad 0 : { *(.pad) }
${RELOCATING+PROVIDE (_text = .);}
.text ${RELOCATING-0} : { .text ${RELOCATING-0} : {
${RELOCATING+PROVIDE (_text = .);}
*(.text) *(.text)
*(.pr) *(.pr)
*(.ro) *(.ro)
@ -20,10 +20,10 @@ SECTIONS
*(.xo) *(.xo)
*(.ti) *(.ti)
*(.tb) *(.tb)
${RELOCATING+PROVIDE (_etext = .);}
} }
${RELOCATING+PROVIDE (_etext = .);} .data 0 : {
${RELOCATING+PROVIDE (_data = .);} ${RELOCATING+PROVIDE (_data = .);}
.data ${RELOCATING-0} : {
*(.data) *(.data)
*(.rw) *(.rw)
*(.sv) *(.sv)
@ -32,16 +32,16 @@ SECTIONS
*(.tc0) *(.tc0)
*(.tc) *(.tc)
*(.td) *(.td)
${RELOCATING+PROVIDE (_edata = .);}
} }
${RELOCATING+PROVIDE (_edata = .);}
.bss : { .bss : {
*(.bss) *(.bss)
*(.bs) *(.bs)
*(.uc) *(.uc)
*(COMMON) *(COMMON)
${RELOCATING+PROVIDE (_end = .);}
${RELOCATING+PROVIDE (end = .);}
} }
${RELOCATING+PROVIDE (_end = .);}
${RELOCATING+PROVIDE (end = .);}
.loader 0 : { .loader 0 : {
*(.loader) *(.loader)
} }