diff options
author | Dave Korn <dave.korn@artimi.com> | 2009-09-03 18:04:35 +0000 |
---|---|---|
committer | Dave Korn <dave.korn@artimi.com> | 2009-09-03 18:04:35 +0000 |
commit | 032f3e01ca57897834b9d08a7715f6a358e7debb (patch) | |
tree | 93bb28c363bbeec49066bb665952a10f887da5cc /ld/scripttempl | |
parent | 110c21e16577edf29f801c9dc2440d79b545e121 (diff) | |
download | gdb-032f3e01ca57897834b9d08a7715f6a358e7debb.zip gdb-032f3e01ca57897834b9d08a7715f6a358e7debb.tar.gz gdb-032f3e01ca57897834b9d08a7715f6a358e7debb.tar.bz2 |
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.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r-- | ld/scripttempl/epocpe.sc | 1 | ||||
-rw-r--r-- | ld/scripttempl/mcorepe.sc | 1 | ||||
-rw-r--r-- | ld/scripttempl/pe.sc | 1 | ||||
-rw-r--r-- | ld/scripttempl/pep.sc | 1 | ||||
-rw-r--r-- | ld/scripttempl/ppcpe.sc | 1 |
5 files changed, 5 insertions, 0 deletions
diff --git a/ld/scripttempl/epocpe.sc b/ld/scripttempl/epocpe.sc index eda6696..34aebf6 100644 --- a/ld/scripttempl/epocpe.sc +++ b/ld/scripttempl/epocpe.sc @@ -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__ = . ; diff --git a/ld/scripttempl/mcorepe.sc b/ld/scripttempl/mcorepe.sc index 6f928aa..5b10881 100644 --- a/ld/scripttempl/mcorepe.sc +++ b/ld/scripttempl/mcorepe.sc @@ -56,6 +56,7 @@ SECTIONS ${RELOCATING+ *(.init)} *(.text) ${R_TEXT} + ${RELOCATING+ *(.text.*)} *(.glue_7t) *(.glue_7) ${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; diff --git a/ld/scripttempl/pe.sc b/ld/scripttempl/pe.sc index 687efb0..0d59aa0 100644 --- a/ld/scripttempl/pe.sc +++ b/ld/scripttempl/pe.sc @@ -69,6 +69,7 @@ SECTIONS ${RELOCATING+ *(.init)} *(.text) ${R_TEXT} + ${RELOCATING+ *(.text.*)} *(.glue_7t) *(.glue_7) ${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; diff --git a/ld/scripttempl/pep.sc b/ld/scripttempl/pep.sc index b39469d..c6eb06c 100644 --- a/ld/scripttempl/pep.sc +++ b/ld/scripttempl/pep.sc @@ -69,6 +69,7 @@ SECTIONS ${RELOCATING+ *(.init)} *(.text) ${R_TEXT} + ${RELOCATING+ *(.text.*)} *(.glue_7t) *(.glue_7) ${CONSTRUCTING+. = ALIGN(8);} diff --git a/ld/scripttempl/ppcpe.sc b/ld/scripttempl/ppcpe.sc index 40fbe33..83e2609 100644 --- a/ld/scripttempl/ppcpe.sc +++ b/ld/scripttempl/ppcpe.sc @@ -32,6 +32,7 @@ SECTIONS { ${RELOCATING+ *(.init);} *(.text) + ${RELOCATING+ *(.text.*)} *(.gcc_except_table) ${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; LONG (-1); *(.ctors); *(.ctor); LONG (0); } |