This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: BFD: include pei/coff targets in solaris/illumos platform target list

> On 4. okt 2015, at 17:45, H.J. Lu <> wrote:
> On Tue, Sep 29, 2015 at 3:49 PM, Toomas Soome <> wrote:
>> hi!
>> as for UEFI binaries are spreading, would like to get pei/coff targets added to default list for solaris/illumos platform for bfd module as listed in this diff:
> This is what I checked into binutils master branch.

Thanks, just checked with this update:

GNU objdump (GNU Binutils)
GNU objcopy (GNU Binutils)

do create and handle pei files:

/home/tsoome/loader.efi:     file format pei-x86-64
architecture: i386:x86-64, flags 0x00000133:
start address 0x000000000000cd80

Characteristics 0x206
        line numbers stripped
        debugging information removed

Time/Date               Thu Jan  1 03:00:00 1970
Magic                   020b    (PE32+)
MajorLinkerVersion      2
MinorLinkerVersion      25

there is one minor issue tho (not related to this update, it is there in 2.25.1 at least), this pei-x86-64 file is created with objcopy from elf file and as you see the Time/Date is not set. Not a big issue, but at least
GNU objcopy 2.17.50 [FreeBSD] 2007-07-03
seems to set time/date properly - it may be freebsd own patch of course.


> -- 
> H.J.
> <0001-Enable-IAMCU-and-PEI-for-Solaris2-x86.patch>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]