aboutsummaryrefslogtreecommitdiff
path: root/ld/scripttempl
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-09-04 06:35:29 +0000
committerAlan Modra <amodra@gmail.com>2009-09-04 06:35:29 +0000
commit4c4fb5dac57a7cc4704fffb1f2fc11634dccc833 (patch)
tree2c35a26ae7fccbd0e5afc279f170903766c487c8 /ld/scripttempl
parent66a6900a09dc32b8afc5bf61ee070084025232a7 (diff)
downloadfsf-binutils-gdb-4c4fb5dac57a7cc4704fffb1f2fc11634dccc833.zip
fsf-binutils-gdb-4c4fb5dac57a7cc4704fffb1f2fc11634dccc833.tar.gz
fsf-binutils-gdb-4c4fb5dac57a7cc4704fffb1f2fc11634dccc833.tar.bz2
* scripttempl/elf.sc (.text): Add cold text sections.
Diffstat (limited to 'ld/scripttempl')
-rw-r--r--ld/scripttempl/elf.sc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc
index d5cc3e6..886f578 100644
--- a/ld/scripttempl/elf.sc
+++ b/ld/scripttempl/elf.sc
@@ -410,6 +410,7 @@ cat <<EOF
.text ${RELOCATING-0} :
{
${RELOCATING+${TEXT_START_SYMBOLS}}
+ ${RELOCATING+*(.text.unlikely .text.*_unlikely)}
*(.text .stub${RELOCATING+ .text.* .gnu.linkonce.t.*})
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)