projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66a6900
)
* scripttempl/elf.sc (.text): Add cold text sections.
author
Alan Modra
<amodra@gmail.com>
Fri, 4 Sep 2009 06:35:29 +0000
(06:35 +0000)
committer
Alan Modra
<amodra@gmail.com>
Fri, 4 Sep 2009 06:35:29 +0000
(06:35 +0000)
ld/ChangeLog
patch
|
blob
|
history
ld/scripttempl/elf.sc
patch
|
blob
|
history
diff --git
a/ld/ChangeLog
b/ld/ChangeLog
index 56e69c38e2bf0912a93d5d1f989926da5f40cb26..62af1e15b6d26c6691c855952bcd8562cde7487f 100644
(file)
--- a/
ld/ChangeLog
+++ b/
ld/ChangeLog
@@
-1,3
+1,7
@@
+2009-09-04 Alan Modra <amodra@bigpond.net.au>
+
+ * scripttempl/elf.sc (.text): Add cold text sections.
+
2009-09-04 Jie Zhang <jie.zhang@analog.com>
* emulparams/elf32bfinfd.sh (OTHER_SECTIONS): Add .l2.text
diff --git
a/ld/scripttempl/elf.sc
b/ld/scripttempl/elf.sc
index d5cc3e65c1a3511591511e37245276843e0f24d5..886f57865f7a64b696b7205086d58b93be8048d4 100644
(file)
--- 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)