[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/12484] New: avr-ld doesn't warn when a memory section is over
From: |
massimiliano.cialdi at powersoft dot it |
Subject: |
[Bug ld/12484] New: avr-ld doesn't warn when a memory section is over |
Date: |
Fri, 11 Feb 2011 15:41:46 +0000 |
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: address@hidden
ReportedBy: address@hidden
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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug ld/12484] New: avr-ld doesn't warn when a memory section is over,
massimiliano.cialdi at powersoft dot it <=