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. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils