summaryrefslogtreecommitdiff
path: root/ld/scripttempl
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
commiteb679ff10bcad63cb3ecfcedc038ea6b1c625041 (patch)
tree890a538cceabf97f37a1e97992a8174363e57c70 /ld/scripttempl
parent5c8bfc6445df34334297614c3a14a613219c504e (diff)
downloadbinutils-redhat-eb679ff10bcad63cb3ecfcedc038ea6b1c625041.tar.gz
* scripttempl/elf.sc: Handle function names and other
text after .text.unlikely too.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/elf.sc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index 318e054143..e8126cbf31 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.*)}