Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/binutils/dist/ld/scripttempl gcc-4.8 has begun...
details: https://anonhg.NetBSD.org/src/rev/041417aa41f1
branches: trunk
changeset: 792479:041417aa41f1
user: christos <christos%NetBSD.org@localhost>
date: Sat Jan 04 20:17:42 2014 +0000
description:
gcc-4.8 has begun putting code in .text.unlikely etc. This breaks our
assumption that .text code comes first in kernels about bootblock so
that the first symbol defined becomes the start address. This change
puts .text before other .text like sections.
diffstat:
external/gpl3/binutils/dist/ld/scripttempl/elf.sc | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r 1b7d2ae89698 -r 041417aa41f1 external/gpl3/binutils/dist/ld/scripttempl/elf.sc
--- a/external/gpl3/binutils/dist/ld/scripttempl/elf.sc Sat Jan 04 19:08:43 2014 +0000
+++ b/external/gpl3/binutils/dist/ld/scripttempl/elf.sc Sat Jan 04 20:17:42 2014 +0000
@@ -473,11 +473,12 @@
.text ${RELOCATING-0} :
{
${RELOCATING+${TEXT_START_SYMBOLS}}
+ *(.text)
${RELOCATING+*(.text.unlikely .text.*_unlikely)}
${RELOCATING+*(.text.exit .text.exit.*)}
${RELOCATING+*(.text.startup .text.startup.*)}
${RELOCATING+*(.text.hot .text.hot.*)}
- *(.text .stub${RELOCATING+ .text.* .gnu.linkonce.t.*})
+ *(.stub${RELOCATING+ .text.* .gnu.linkonce.t.*})
/* .gnu.warning sections are handled specially by elf32.em. */
*(.gnu.warning)
${RELOCATING+${OTHER_TEXT_SECTIONS}}
Home |
Main Index |
Thread Index |
Old Index