------- Additional Comments From hjl at lucon dot org  2007-03-17 21:51 -------
Created an attachment (id=1627)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=1627&action=view)
A patch

This patch works for testcase. I got

./objdump -ph image_size

image_size:     file format pei-i386

Characteristics 0x307
        relocations stripped
        executable
        line numbers stripped
        32 bit words
        debugging information removed

Time/Date               Sat Mar 17 14:45:01 2007

ImageBase               0000000000400000
SectionAlignment        0000000000001000
FileAlignment           0000000000000200
MajorOSystemVersion     4
MinorOSystemVersion     0
MajorImageVersion       1
MinorImageVersion       0
MajorSubsystemVersion   4
MinorSubsystemVersion   0
Win32Version            00000000
SizeOfImage             00004000
SizeOfHeaders           00000200

...

Sections:
Idx Name          Size      VMA               LMA               File off  Algn
  0 .text         00000010  0000000000401000  0000000000401000  00000200  2**4
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .data         00000010  0000000000403000  0000000000403000  00000400  2**4
                  CONTENTS, ALLOC, LOAD, DATA


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=4210

------- 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