[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/948] Wrong LMA for section with empty input section.
From: |
hjl at lucon dot org |
Subject: |
[Bug ld/948] Wrong LMA for section with empty input section. |
Date: |
16 May 2005 18:51:17 -0000 |
------- 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
address@hidden empty-7]$ make
./ld -o x -T script.ld test-lma.o
./objdump -h x
x: file format elf32-i386
Sections:
Idx Name Size VMA LMA File off Algn
0 .text 0000002d 20000000 00000000 00001000 2**2
CONTENTS, ALLOC, LOAD, READONLY, CODE
1 .data 00000004 40000000 00001000 00002000 2**2
CONTENTS, ALLOC, LOAD, DATA
2 .rodata 0000000c 40000004 40000004 00002004 2**0
CONTENTS
3 .bss 00000004 40000010 00001010 00002004 2**2
ALLOC
4 .comment 00000032 00000000 00000000 00002010 2**0
CONTENTS, READONLY
address@hidden empty-7]$ ./objcopy -O binary x x.bin
address@hidden empty-7]$ ls -l x.bin
-rwxrwxr-x 1 hjl hjl 4100 May 16 11:48 x.bin
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
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.