* scripttempl/elf32msp430.sc: Add placement of .data.* sections.
Add alignment of .bss section. * scripttempl/elf32msp430_3.sc: Likewise.
This commit is contained in:
parent
c7570fcd46
commit
727f703102
|
@ -1,3 +1,9 @@
|
|||
2013-02-27 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
* scripttempl/elf32msp430.sc: Add placement of .data.* sections.
|
||||
Add alignment of .bss section.
|
||||
* scripttempl/elf32msp430_3.sc: Likewise.
|
||||
|
||||
2013-02-26 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR ld/15188
|
||||
|
|
|
@ -144,7 +144,7 @@ SECTIONS
|
|||
${RELOCATING+ PROVIDE (__data_start = .) ; }
|
||||
${RELOCATING+. = ALIGN(2);}
|
||||
*(.data)
|
||||
${RELOCATING+. = ALIGN(2);}
|
||||
*(.data.*)
|
||||
*(.gnu.linkonce.d*)
|
||||
${RELOCATING+. = ALIGN(2);}
|
||||
${RELOCATING+ _edata = . ; }
|
||||
|
@ -177,6 +177,7 @@ SECTIONS
|
|||
|
||||
.bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
|
||||
{
|
||||
${RELOCATING+. = ALIGN(2);}
|
||||
${RELOCATING+ PROVIDE (__bss_start = .) ; }
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
|
|
|
@ -118,7 +118,9 @@ SECTIONS
|
|||
.data ${RELOCATING-0} : ${RELOCATING+AT (ADDR (.text) + SIZEOF (.text))}
|
||||
{
|
||||
${RELOCATING+ PROVIDE (__data_start = .) ; }
|
||||
${RELOCATING+. = ALIGN(2);}
|
||||
*(.data)
|
||||
*(.data.*)
|
||||
*(.gnu.linkonce.d*)
|
||||
${RELOCATING+. = ALIGN(2);}
|
||||
${RELOCATING+ _edata = . ; }
|
||||
|
@ -126,6 +128,7 @@ SECTIONS
|
|||
|
||||
.bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
|
||||
{
|
||||
${RELOCATING+. = ALIGN(2);}
|
||||
${RELOCATING+ PROVIDE (__bss_start = .) ; }
|
||||
*(.bss)
|
||||
*(COMMON)
|
||||
|
|
Loading…
Reference in New Issue