mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-19 09:14:14 +08:00
ld/ChangeLog:
* scripttempl/pe.sc (.text): Add "*(.text.*)" in order to catch new GCC hot/cold/unlikely partitions. * scripttempl/pep.sc: Likewise. * scripttempl/epocpe.sc: Likewise. * scripttempl/mcorepe.sc: Likewise. * scripttempl/ppcpe.sc: Likewise. ld/testsuite/ChangeLog: * ld-pe/longsecn.d: Adjusted to match new .text section merging in default PE linker scripts. * ld-pe/longsecn-1.d: Likewise. * ld-pe/longsecn-2.d: Likewise.
This commit is contained in:
@ -52,6 +52,7 @@ SECTIONS
|
||||
${R_TEXT}
|
||||
*(.glue_7t)
|
||||
*(.glue_7)
|
||||
${RELOCATING+ *(.text.*)}
|
||||
${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
|
||||
LONG (-1); *(.ctors); *(.ctor); LONG (0); }
|
||||
${CONSTRUCTING+ ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;
|
||||
|
@ -56,6 +56,7 @@ SECTIONS
|
||||
${RELOCATING+ *(.init)}
|
||||
*(.text)
|
||||
${R_TEXT}
|
||||
${RELOCATING+ *(.text.*)}
|
||||
*(.glue_7t)
|
||||
*(.glue_7)
|
||||
${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
|
||||
|
@ -69,6 +69,7 @@ SECTIONS
|
||||
${RELOCATING+ *(.init)}
|
||||
*(.text)
|
||||
${R_TEXT}
|
||||
${RELOCATING+ *(.text.*)}
|
||||
*(.glue_7t)
|
||||
*(.glue_7)
|
||||
${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
|
||||
|
@ -69,6 +69,7 @@ SECTIONS
|
||||
${RELOCATING+ *(.init)}
|
||||
*(.text)
|
||||
${R_TEXT}
|
||||
${RELOCATING+ *(.text.*)}
|
||||
*(.glue_7t)
|
||||
*(.glue_7)
|
||||
${CONSTRUCTING+. = ALIGN(8);}
|
||||
|
@ -32,6 +32,7 @@ SECTIONS
|
||||
{
|
||||
${RELOCATING+ *(.init);}
|
||||
*(.text)
|
||||
${RELOCATING+ *(.text.*)}
|
||||
*(.gcc_except_table)
|
||||
${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;
|
||||
LONG (-1); *(.ctors); *(.ctor); LONG (0); }
|
||||
|
Reference in New Issue
Block a user