[PATCH] [Support] add missing enumeration values

Rui Ueyama ruiu at google.com
Thu Aug 22 15:08:26 PDT 2013


LGTM.


On Sun, Aug 18, 2013 at 2:44 PM, Saleem Abdulrasool
<compnerd at compnerd.org>wrote:

> Hi ruiu,
>
> This adds additional missing Windows subsystem identifiers to the
> IMAGE_SUBSYSTEM enumeration.
>
> Signed-off-by: Saleem Abdulrasool <compnerd at compnerd.org>
>
>
> http://llvm-reviews.chandlerc.com/D1436
>
> Files:
>   include/llvm/Support/COFF.h
>
> Index: include/llvm/Support/COFF.h
> ===================================================================
> --- include/llvm/Support/COFF.h
> +++ include/llvm/Support/COFF.h
> @@ -511,7 +511,9 @@
>      IMAGE_SUBSYSTEM_NATIVE = 1, ///< Device drivers and native Windows
> processes
>      IMAGE_SUBSYSTEM_WINDOWS_GUI = 2, ///< The Windows GUI subsystem.
>      IMAGE_SUBSYSTEM_WINDOWS_CUI = 3, ///< The Windows character subsystem.
> +    IMAGE_SUBSYSTEM_OS2_CUI = 5, ///< The OS/2 character subsytem.
>      IMAGE_SUBSYSTEM_POSIX_CUI = 7, ///< The POSIX character subsystem.
> +    IMAGE_SUBSYSTEM_NATIVE_WINDOWS = 8, ///< Native Windows 9x driver.
>      IMAGE_SUBSYSTEM_WINDOWS_CE_GUI = 9, ///< Windows CE.
>      IMAGE_SUBSYSTEM_EFI_APPLICATION = 10, ///< An EFI application.
>      IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER = 11, ///< An EFI driver with
> boot
> @@ -519,7 +521,8 @@
>      IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER = 12, ///< An EFI driver with
> run-time
>                                               ///  services.
>      IMAGE_SUBSYSTEM_EFI_ROM = 13, ///< An EFI ROM image.
> -    IMAGE_SUBSYSTEM_XBOX = 14 ///< XBOX.
> +    IMAGE_SUBSYSTEM_XBOX = 14, ///< XBOX.
> +    IMAGE_SUBSYSTEM_WINDOWS_BOOT_APPLICATION = 16, ///< A BCD application.
>    };
>
>    enum DLLCharacteristics {
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130822/f18ab4e0/attachment.html>


More information about the llvm-commits mailing list