aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-11-25 03:03:02 +0000
committerAlan Modra <amodra@gmail.com>2010-11-25 03:03:02 +0000
commitadd44f8d5c5c05e08b11e033127a744d61c26aee (patch)
tree88b71f3cb98a6ba121c9fe9641d2a6a854249edd /ld/scripttempl
parent7362f76f52be200ae5fa21950f69e12304703fae (diff)
downloadgdb-add44f8d5c5c05e08b11e033127a744d61c26aee.zip
gdb-add44f8d5c5c05e08b11e033127a744d61c26aee.tar.gz
gdb-add44f8d5c5c05e08b11e033127a744d61c26aee.tar.bz2
* scripttempl/elf.sc: Group .text.exit, text.startup and .text.hot
sections.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/elf.sc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index ac05306..f020a66 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
@@ -433,6 +433,9 @@ cat <<EOF
{
${RELOCATING+${TEXT_START_SYMBOLS}}
${RELOCATING+*(.text.unlikely .text.*_unlikely)}
+ ${RELOCATING+*(.text.exit .text.exit.*)}
+ ${RELOCATING+*(.text.startup .text.startup.*)}
+ ${RELOCATING+*(.text.hot .text.hot.*)}
*(.text .stub${RELOCATING+ .text.* .gnu.linkonce.t.*})
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)