[Bug ld/948] Wrong LMA for section with empty input section.

2005-05-18 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-05-17 17:20 --- 1. I didn't see a FILL statement in your linker script. 2. LMA of an ELF section is an artificial thing. You should use "readelf -lS" to see the real segment/section/memory layout of an ELF binary. 3. If a section is e

[Bug ld/948] Wrong LMA for section with empty input section.

2005-05-17 Thread hjl at lucon dot org
--- Additional Comments From hjl at lucon dot org 2005-05-16 18:51 --- I can't reproduce it with binutils in CVS nor the Linux binutils 2.16.90.0.3. I got [EMAIL PROTECTED] empty-7]$ make ./ld -o x -T script.ld test-lma.o ./objdump -h x x: file format elf32-i386 Sections: Idx Name

[Bug ld/948] Wrong LMA for section with empty input section.

2005-05-17 Thread fabrice_gautier at sdesigns dot com
--- Additional Comments From fabrice_gautier at sdesigns dot com 2005-05-16 20:44 --- (In reply to comment #2) > I can't reproduce it with binutils in CVS nor the Linux binutils 2.16.90.0.3. Actually you did reproduce it just there ... > I got > [EMAIL PROTECTED] empty-7]$ make > ./ld

[Bug ld/948] Wrong LMA for section with empty input section.

2005-05-12 Thread fabrice_gautier at sdesigns dot com
--- Additional Comments From fabrice_gautier at sdesigns dot com 2005-05-12 19:55 --- Created an attachment (id=488) --> (http://sources.redhat.com/bugzilla/attachment.cgi?id=488&action=view) linker script and sample c code. This is a linker script and c code to reproduce the issue: $