* scripttempl/aix.sc: Move special symbols inside sections.
Always start .data at 0.
This commit is contained in:
parent
e89929cd79
commit
328e5a48e8
2 changed files with 12 additions and 7 deletions
|
@ -10,8 +10,8 @@ ENTRY(__start)
|
|||
SECTIONS
|
||||
{
|
||||
.pad 0 : { *(.pad) }
|
||||
${RELOCATING+PROVIDE (_text = .);}
|
||||
.text ${RELOCATING-0} : {
|
||||
${RELOCATING+PROVIDE (_text = .);}
|
||||
*(.text)
|
||||
*(.pr)
|
||||
*(.ro)
|
||||
|
@ -20,10 +20,10 @@ SECTIONS
|
|||
*(.xo)
|
||||
*(.ti)
|
||||
*(.tb)
|
||||
${RELOCATING+PROVIDE (_etext = .);}
|
||||
}
|
||||
${RELOCATING+PROVIDE (_etext = .);}
|
||||
${RELOCATING+PROVIDE (_data = .);}
|
||||
.data ${RELOCATING-0} : {
|
||||
.data 0 : {
|
||||
${RELOCATING+PROVIDE (_data = .);}
|
||||
*(.data)
|
||||
*(.rw)
|
||||
*(.sv)
|
||||
|
@ -32,16 +32,16 @@ SECTIONS
|
|||
*(.tc0)
|
||||
*(.tc)
|
||||
*(.td)
|
||||
${RELOCATING+PROVIDE (_edata = .);}
|
||||
}
|
||||
${RELOCATING+PROVIDE (_edata = .);}
|
||||
.bss : {
|
||||
*(.bss)
|
||||
*(.bs)
|
||||
*(.uc)
|
||||
*(COMMON)
|
||||
${RELOCATING+PROVIDE (_end = .);}
|
||||
${RELOCATING+PROVIDE (end = .);}
|
||||
}
|
||||
${RELOCATING+PROVIDE (_end = .);}
|
||||
${RELOCATING+PROVIDE (end = .);}
|
||||
.loader 0 : {
|
||||
*(.loader)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue