PATCH: Fix EFI support

H.J. Lu hjl.tools@gmail.com
Fri Apr 17 15:01:00 GMT 2009


On Fri, Apr 17, 2009 at 5:03 AM, Nick Clifton <nickc@redhat.com> wrote:
> Hi H.J.,
>
>> Here is the patch. I also added some command line options for
>> objcopy, which are similar to PE linker.  OK for trunk?
>
> Yes.  One small nit, in the binutils documentation you say:
>
>  [This option is specific to the PE target.]
>
> At various places.  Since there is more than one PE target type I would
> suggest that you say:
>
>  [This option is specific to PE targets.]

This is a followup patch. UEFI PI specification 1.1 gives following image type:
#define EFI_IMAGE_SUBSYSTEM_EFI_APPLICATION 10
#define EFI_IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER 11
#define EFI_IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER 12
#define EFI_IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER 13
       You can get specification from http://www.uefi.org/specs/

This patch replaces IMAGE_SUBSYSTEM_EFI_ROM with
EFI_IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER.  I am checking it
in as an obvious fix.

Thanks.


-- 
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: binutils-efi-2.patch
Type: application/octet-stream
Size: 4262 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20090417/e6083b8a/attachment.obj>


More information about the Binutils mailing list