* scripttempl/elf.sc: Handle function names and other
authorJeff Law <law@redhat.com>
Mon, 8 Jul 2013 17:07:15 +0000 (17:07 +0000)
committerJeff Law <law@redhat.com>
Mon, 8 Jul 2013 17:07:15 +0000 (17:07 +0000)
text after .text.unlikely too.

ld/ChangeLog
ld/scripttempl/elf.sc

index 1bd8f6e585bab2e2c601585f8702dade1d5a7e88..08ac0857ea85fb6bc8baf7a1657149cda02c1394 100644 (file)
@@ -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
index 318e05414372b466c45b9a8af8c9c34d0cb86dcc..e8126cbf31af6610cf63309b0f42acbe5687d0dc 100644 (file)
@@ -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.*)}