aboutsummaryrefslogtreecommitdiff
path: root/ld
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
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')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/elf.sc3
2 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index fc6a6d0..538e6e4 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-25 Jan Hubicka <hubicka@ucw.cz>
+
+ * scripttempl/elf.sc: Group .text.exit, text.startup and .text.hot
+ sections.
+
2010-11-23 Matthias Klose <doko@ubuntu.com>
* configure.ac: For --enable-gold, handle value `default' instead of
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)