mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
1999-09-12 Donn Terry <donn@interix.com>
* scripttempl/pe.sc: Use ${ENTRY} rather than _mainCRTStartup.
Move .bss section after .rdata. Move .reloc section after .rsrc.
This commit is contained in:
@@ -42,7 +42,7 @@ ${OUTPUT_ARCH+OUTPUT_ARCH(${OUTPUT_ARCH})}
|
||||
|
||||
${LIB_SEARCH_DIRS}
|
||||
|
||||
ENTRY(_mainCRTStartup)
|
||||
ENTRY(${ENTRY})
|
||||
|
||||
SECTIONS
|
||||
{
|
||||
@@ -80,6 +80,13 @@ SECTIONS
|
||||
${RELOCATING+*(.data_cygwin_nocopy)}
|
||||
}
|
||||
|
||||
.rdata ${RELOCATING+BLOCK(__section_alignment__)} :
|
||||
{
|
||||
*(.rdata)
|
||||
${R_RDATA}
|
||||
*(.eh_frame)
|
||||
}
|
||||
|
||||
.bss ${RELOCATING+BLOCK(__section_alignment__)} :
|
||||
{
|
||||
${RELOCATING+__bss_start__ = . ;}
|
||||
@@ -88,13 +95,6 @@ SECTIONS
|
||||
${RELOCATING+__bss_end__ = . ;}
|
||||
}
|
||||
|
||||
.rdata ${RELOCATING+BLOCK(__section_alignment__)} :
|
||||
{
|
||||
*(.rdata)
|
||||
${R_RDATA}
|
||||
*(.eh_frame)
|
||||
}
|
||||
|
||||
.edata ${RELOCATING+BLOCK(__section_alignment__)} :
|
||||
{
|
||||
*(.edata)
|
||||
@@ -127,17 +127,17 @@ SECTIONS
|
||||
${RELOCATING+ __end__ = .;}
|
||||
}
|
||||
|
||||
.reloc ${RELOCATING+BLOCK(__section_alignment__)} :
|
||||
{
|
||||
*(.reloc)
|
||||
}
|
||||
|
||||
.rsrc ${RELOCATING+BLOCK(__section_alignment__)} :
|
||||
{
|
||||
*(.rsrc)
|
||||
${R_RSRC}
|
||||
}
|
||||
|
||||
.reloc ${RELOCATING+BLOCK(__section_alignment__)} :
|
||||
{
|
||||
*(.reloc)
|
||||
}
|
||||
|
||||
.stab ${RELOCATING+BLOCK(__section_alignment__)} ${RELOCATING+(NOLOAD)} :
|
||||
{
|
||||
[ .stab ]
|
||||
|
||||
Reference in New Issue
Block a user