summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
49c1625)
* scripttempl/i386go32.sc: Provide symbol _environ. Link in
.ctors and .dtors. Discard LTO sections.
+2020-04-17 Juan Manuel Guerrero <juan.guerrero@gmx.de>
+ Jan W. Jagersma <jwjagersma@gmail.com>
+
+ * scripttempl/i386go32.sc: Provide symbol _environ. Link in
+ .ctors and .dtors. Discard LTO sections.
+
2020-04-17 Nick Clifton <nickc@redhat.com>
* testsuite/config/default.exp: If not already set then create the
2020-04-17 Nick Clifton <nickc@redhat.com>
* testsuite/config/default.exp: If not already set then create the
${RELOCATING+etext = . ; PROVIDE(_etext = .) ;}
${RELOCATING+. = ALIGN(${SEGMENT_SIZE});}
}
${RELOCATING+etext = . ; PROVIDE(_etext = .) ;}
${RELOCATING+. = ALIGN(${SEGMENT_SIZE});}
}
.data ${RELOCATING+ ${DATA_ALIGNMENT}} : {
${RELOCATING+djgpp_first_ctor = . ;
*(SORT(.ctors.*))
*(.ctor)
.data ${RELOCATING+ ${DATA_ALIGNMENT}} : {
${RELOCATING+djgpp_first_ctor = . ;
*(SORT(.ctors.*))
*(.ctor)
djgpp_last_ctor = . ;}
${RELOCATING+djgpp_first_dtor = . ;
*(SORT(.dtors.*))
*(.dtor)
djgpp_last_ctor = . ;}
${RELOCATING+djgpp_first_dtor = . ;
*(SORT(.dtors.*))
*(.dtor)
+ __environ = . ;
+ PROVIDE(_environ = .) ;
+ LONG(0) ;
*(.data)
${RELOCATING+*(.data.*)}
*(.data)
${RELOCATING+*(.data.*)}
${RELOCATING+edata = . ; PROVIDE(_edata = .) ;}
${RELOCATING+. = ALIGN(${SEGMENT_SIZE});}
}
${RELOCATING+edata = . ; PROVIDE(_edata = .) ;}
${RELOCATING+. = ALIGN(${SEGMENT_SIZE});}
}
${CONSTRUCTING+${RELOCATING-$CTOR}}
${CONSTRUCTING+${RELOCATING-$DTOR}}
${CONSTRUCTING+${RELOCATING-$CTOR}}
${CONSTRUCTING+${RELOCATING-$DTOR}}
.bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
{
*(.bss${RELOCATING+ .bss.* .gnu.linkonce.b.*})
.bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
{
*(.bss${RELOCATING+ .bss.* .gnu.linkonce.b.*})
${RELOCATING+ end = . ; PROVIDE(_end = .) ;}
${RELOCATING+ . = ALIGN(${SEGMENT_SIZE});}
}
${RELOCATING+ end = . ; PROVIDE(_end = .) ;}
${RELOCATING+ . = ALIGN(${SEGMENT_SIZE});}
}
+
+ /* Discard LTO sections. */
+ /DISCARD/ : { *(.gnu.lto_*) }
+
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }
/* Stabs debugging sections. */
.stab 0 : { *(.stab) }
.stabstr 0 : { *(.stabstr) }