[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/948] New: Wrong LMA for section with empty input section.
From: |
fabrice_gautier at sdesigns dot com |
Subject: |
[Bug ld/948] New: Wrong LMA for section with empty input section. |
Date: |
12 May 2005 19:48:11 -0000 |
When an output section is empty, the AT() attribute is ignored and LMA=VMA in
the output file. The LOADADDR(section) expression returns the correct value
nonetheless.
This is not really a problem when the section is really empty, ie size=0, but
its a real problem when the section is not of size=0 because of an .=ALIGN(4)
statement for example.
In this case doing a simple objcopy -O binary a.out a.bin will cause an enormous
a.bin.
--
Summary: Wrong LMA for section with empty input section.
Product: binutils
Version: 2.15
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: fabrice_gautier at sdesigns dot com
CC: bug-binutils at gnu dot org
GCC host triplet: i386-pc-linux
GCC target triplet: i386-pc-linux
http://sources.redhat.com/bugzilla/show_bug.cgi?id=948
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug ld/948] New: Wrong LMA for section with empty input section.,
fabrice_gautier at sdesigns dot com <=