aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2013-07-08 17:07:15 +0000
committerJeff Law <law@redhat.com>2013-07-08 17:07:15 +0000
commit1de778ed23ce7492c523d5850c6c6dbb34152655 (patch)
tree0b1aa1226e29595f9a43fd22795d2b1b7b424db1
parent41741fa453af658fef20fd1863c36bdf5f953719 (diff)
downloadgdb-1de778ed23ce7492c523d5850c6c6dbb34152655.zip
gdb-1de778ed23ce7492c523d5850c6c6dbb34152655.tar.gz
gdb-1de778ed23ce7492c523d5850c6c6dbb34152655.tar.bz2
* scripttempl/elf.sc: Handle function names and other
text after .text.unlikely too.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/scripttempl/elf.sc2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 1bd8f6e..08ac085 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2013-07-08 Jeff Law <law@redhat.com>
+
+ * scripttempl/elf.sc: Handle function names and other text after
+ .text.unlikely too.
+
2013-07-08 Tristan Gingold <gingold@adacore.com>
* scripttempl/ia64vms.sc: Add support of per data and per function
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index 318e054..e8126cb 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
@@ -470,7 +470,7 @@ cat <<EOF
.text ${RELOCATING-0} :
{
${RELOCATING+${TEXT_START_SYMBOLS}}
- ${RELOCATING+*(.text.unlikely .text.*_unlikely)}
+ ${RELOCATING+*(.text.unlikely .text.*_unlikely .text.unlikely.*)}
${RELOCATING+*(.text.exit .text.exit.*)}
${RELOCATING+*(.text.startup .text.startup.*)}
${RELOCATING+*(.text.hot .text.hot.*)}