http://sourceware.org/bugzilla/show_bug.cgi?id=12484
Summary: avr-ld doesn't warn when a memory section is over
Product: binutils
Version: 2.21
Status: NEW
Severity: critical
Priority: P2
Component: ld
AssignedTo: [email protected]
ReportedBy: [email protected]
Created attachment 5235
--> http://sourceware.org/bugzilla/attachment.cgi?id=5235
A sample to reproduce the problem
the initialized data belongs to ram, but them images is hold in flash of
microcontroller.
Suppose to have a 32KB flash ans 2KB sram microncontroller.
Suppose to have a .text section as big as 31KB, and suppose to have a vector of
initialized data as big as 1.5KB.
The binary file will be 32.5KB long, too long to be programmed into
microcontroller's flash.
I would expect a linker error like:
region `text' overflowed by xx bytes
--
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.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils