[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/17107] AVR Linker Scripts missing gnu.linkonce sections
From: |
allsey87 at gmail dot com |
Subject: |
[Bug ld/17107] AVR Linker Scripts missing gnu.linkonce sections |
Date: |
Thu, 03 Jul 2014 10:00:04 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=17107
--- Comment #5 from allsey87 at gmail dot com ---
Comment on attachment 7677
--> https://sourceware.org/bugzilla/attachment.cgi?id=7677
Possible solution
diff --git a/ld/scripttempl/avr.sc b/ld/scripttempl/avr.sc
index 10714e1..1d5d15e 100644
--- a/ld/scripttempl/avr.sc
+++ b/ld/scripttempl/avr.sc
@@ -139,6 +139,7 @@ SECTIONS
*(.text)
${RELOCATING+. = ALIGN(2);}
${RELOCATING+ *(.text.*)}
+ *(.gnu.linkonce.t*)
${RELOCATING+. = ALIGN(2);}
*(.fini9) /* _exit() starts here. */
KEEP (*(.fini9))
@@ -174,6 +175,7 @@ SECTIONS
*(.rodata) /* We need to include .rodata here if gcc is used */
${RELOCATING+ *(.rodata*)} /* with -fdata-sections. */
*(.gnu.linkonce.d*)
+ *(.gnu.linkonce.r*)
${RELOCATING+. = ALIGN(2);}
${RELOCATING+ _edata = . ; }
${RELOCATING+ PROVIDE (__data_end = .) ; }
@@ -184,6 +186,7 @@ SECTIONS
${RELOCATING+ PROVIDE (__bss_start = .) ; }
*(.bss)
${RELOCATING+ *(.bss*)}
+ *(.gnu.linkonce.b*)
*(COMMON)
${RELOCATING+ PROVIDE (__bss_end = .) ; }
} ${RELOCATING+ > data}
--
You are receiving this mail because:
You are on the CC list for the bug.