https://sourceware.org/bugzilla/show_bug.cgi?id=17107

            Bug ID: 17107
           Summary: AVR Linker Scripts missing gnu.linkonce sections
           Product: binutils
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
          Assignee: unassigned at sourceware dot org
          Reporter: allsey87 at gmail dot com

First up, not sure this is actually a bug or something wrong with my
configuration. I have built a reasonably up to date version of the toolchain
for compiling c,c++ programs for an AVR target.

I'm using the following versions:

GCC_VERSION="4.8.3"
BINUTILS_VERSION="2.24"
GMP_VERSION="6.0.0a"
MPFR_VERSION="3.1.2"
MPC_VERSION="1.0.2"
AVR_LIBC_VERSION="1.8.0"

I'm finding my GCC is outputing gnu.linkonce.(d,b,t,r) sections in the object
files, however the linker scripts avr5.xn and avr6.xn don't contain such
sections. This results in further strange behaviour of the linker placing the
sections directly after .text causing a conflict with my .data section.

A discussion with examples of error messages and a work around solution (hack)
can be found at AVR freaks:

http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&t=143527&start=18

-- 
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

Reply via email to