------- 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          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
[EMAIL PROTECTED] empty-7]$ ./objcopy -O binary x x.bin
[EMAIL PROTECTED] 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.


_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to