diff options
-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 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.*)} |