diff options
author | Jeff Law <law@redhat.com> | 2013-07-08 17:07:15 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 2013-07-08 17:07:15 +0000 |
commit | eb679ff10bcad63cb3ecfcedc038ea6b1c625041 (patch) | |
tree | 890a538cceabf97f37a1e97992a8174363e57c70 /ld | |
parent | 5c8bfc6445df34334297614c3a14a613219c504e (diff) | |
download | binutils-redhat-eb679ff10bcad63cb3ecfcedc038ea6b1c625041.tar.gz |
* scripttempl/elf.sc: Handle function names and other
text after .text.unlikely too.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/scripttempl/elf.sc | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 1bd8f6e585..08ac0857ea 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 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.*)} |