diff options
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/scripttempl/elf.sc | 3 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index fc6a6d0..538e6e4 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2010-11-25 Jan Hubicka <hubicka@ucw.cz> + + * scripttempl/elf.sc: Group .text.exit, text.startup and .text.hot + sections. + 2010-11-23 Matthias Klose <doko@ubuntu.com> * configure.ac: For --enable-gold, handle value `default' instead of diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index ac05306..f020a66 100644 --- a/ld/scripttempl/elf.sc +++ b/ld/scripttempl/elf.sc @@ -433,6 +433,9 @@ cat <<EOF { ${RELOCATING+${TEXT_START_SYMBOLS}} ${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.*}) /* .gnu.warning sections are handled specially by elf32.em. */ *(.gnu.warning) |