bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/13812] Suboptimal default linker script cause "internal error: o


From: gjl at gcc dot gnu.org
Subject: [Bug ld/13812] Suboptimal default linker script cause "internal error: out of range error"
Date: Mon, 05 Mar 2012 21:48:30 +0000

http://sourceware.org/bugzilla/show_bug.cgi?id=13812

--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-03-05 
21:48:30 UTC ---
Created attachment 6263
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6263
stubc.s: Assembler file

Assemble/Link with:

avr-as -mmcu=atmega2560 stubs.s -o stubs.o
avr-ld -mavr6 stubs.o

or at your option

avr-gcc -mmcu=atmega2560 stubs.s

Error message:

stubs.o: In function `main':
stubs.c:(.text.startup+0x0): warning: internal error: out of range error
stubs.c:(.text.startup+0x2): warning: internal error: out of range error

Relevant part of the map file:

.text           0x00000000    0x2720e
 *(.vectors)
 .vectors       0x00000000       0xe4
e:/winavr/4.7.0-3/bin/../lib/gcc/avr/4.7.0/../../../../avr/lib/avr6/crtm2560.o
                0x00000000                __vector_default
                0x00000000                __vectors
 *(.vectors)
 *(.progmem.gcc*)
 *(.progmem*)
 .progmem.data  0x000000e4    0x27100 stubs.o
                0x000000e4                array4
                0x00007de4                array3
                0x0000fae4                array2
                0x000177e4                array1
                0x0001f4e4                array0
                0x000271e4                . = ALIGN (0x2)
                0x000271e4                __trampolines_start = .
 *(.trampolines)
 .trampolines   0x000271e4        0x4 linker stubs
 *(.trampolines*)
                0x000271e8                __trampolines_end = .
 *(.jumptables)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]