summaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/doc/binutils.texi2
-rw-r--r--binutils/objcopy.c2
3 files changed, 7 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 5032687a68..1a8c62dbdb 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,5 +1,10 @@
2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
+ * objcopy.c (set_pe_subsystem): Replace efi-rom with sal-rtd.
+ * doc/binutils.texi: Likewise.
+
+2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
+
PR binutils/10074
* objcopy.c: Include coff/i386.h and coff/pe.h.
(pe_file_alignment): New.
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index fe30d6a5f4..cdec81fd06 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -1564,7 +1564,7 @@ to be used as stack for this program.
Specifies the subsystem under which your program will execute. The
legal values for @var{which} are @code{native}, @code{windows},
@code{console}, @code{posix}, @code{efi-app}, @code{efi-bsd},
-@code{efi-rtd}, @code{efi-rom}, and @code{xbox}. You may optionally set
+@code{efi-rtd}, @code{sal-rtd}, and @code{xbox}. You may optionally set
the subsystem version also. Numeric values are also accepted for
@var{which}.
[This option is specific to PE targets.]
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index b7c84d8417..3fe874114d 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -3040,7 +3040,7 @@ set_pe_subsystem (const char *s)
{ "efi-app", 1, IMAGE_SUBSYSTEM_EFI_APPLICATION },
{ "efi-bsd", 1, IMAGE_SUBSYSTEM_EFI_BOOT_SERVICE_DRIVER },
{ "efi-rtd", 1, IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER },
- { "efi-rom", 1, IMAGE_SUBSYSTEM_EFI_ROM },
+ { "sal-rtd", 1, IMAGE_SUBSYSTEM_SAL_RUNTIME_DRIVER },
{ "xbox", 0, IMAGE_SUBSYSTEM_XBOX }
};
short value;