This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: objcopy with EFI x86_64 support
H.J. Lu <hjl.tools@gmail.com> schrieb am Fr., 7. Dez. 2018 16:55:
> On Fri, Dec 7, 2018 at 6:52 AM Peter Wiehe <peter.wiehe2@gmail.com> wrote:
> >
> > Am 07.12.18 um 15:46 schrieb H.J. Lu:
> > > On Fri, Dec 7, 2018 at 6:31 AM Peter Wiehe <peter.wiehe2@gmail.com>
> wrote:
> > >> Am 07.12.18 um 15:27 schrieb H.J. Lu:
> > >>> On Fri, Dec 7, 2018 at 5:25 AM Peter Wiehe <peter.wiehe2@gmail.com>
> wrote:
> > >>>> I have used the option "--enable-targets=all". If this doesn't work
> why
> > >>>> should the sub-set work? I've tried your suggestion nonetheless but
> it
> > >>>> didn't produce an objcopy with the desired support.
> > >>> What does your "objcopy --help" say?
> > >>>
> > >> objcopy: Unterstützte Ziele: elf64-x86-64 elf32-i386 elf32-iamcu
> > >> elf32-x86-64 a.out-i386-linux pei-i386 pei-x86-64 elf64-l1om
> elf64-k1om
> > >> elf64-little elf64-big elf32-little elf32-big pe-x86-64
> pe-bigobj-x86-64
> > >> pe-i386 plugin srec symbolsrec verilog tekhex binary ihex
> > > I think EFI x86-64 is supported. Why do you think it isn't supported?
> > >
> > >
> > I quote the README from gnu-efi:
> >
> > .......... quote begin ............
> >
> > - A version of "objcopy" that supports EFI applications. To
> > check if your version includes EFI support, issue the
> > command:
> >
> > objcopy --help
> >
> > Verify that the line "supported targets" contains the string
> > "efi-app-ia32" and "efi-app-x86_64" and that the "-j" option
> > accepts wildcards.
> >
> > ............ quote end ............
> >
> > That's why I assume that it's not supporting it.
> >
>
> See:
>
> https://sourceware.org/bugzilla/show_bug.cgi?id=10074
>
> efi-app-x86_64 is translated to pei-x86_64.
>
> --
> H.J.
>
Ah! Thank you very much. That solves the issue.
Peter
>