https://sourceware.org/bugzilla/show_bug.cgi?id=19063

            Bug ID: 19063
           Summary: objcopy does not set Time/Date field for created
                    pei-x86-64 file
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: tsoome at me dot com
  Target Milestone: ---

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

do create and handle pei files:

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

Characteristics 0x206
       executable
       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 (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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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

Reply via email to