aboutsummaryrefslogtreecommitdiff
path: root/bfd/efi-rtdrv-ia32.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/efi-rtdrv-ia32.c')
-rw-r--r--bfd/efi-rtdrv-ia32.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/efi-rtdrv-ia32.c b/bfd/efi-rtdrv-ia32.c
index aa47181..b127cbc 100644
--- a/bfd/efi-rtdrv-ia32.c
+++ b/bfd/efi-rtdrv-ia32.c
@@ -1,5 +1,5 @@
/* BFD back-end for Intel IA-32 EFI runtime driver files.
- Copyright 1999, 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
+ Copyright 1999, 2000, 2001, 2002, 2007, 2008, 2009 Free Software Foundation, Inc.
Contributed by Peter Jones <pjones@redhat.com>
Based on efi-app-ia32.c by David Mosberger <davidm@hpl.hp.com>
@@ -29,7 +29,8 @@
#define COFF_WITH_PE
#define PCRELOFFSET TRUE
#define TARGET_UNDERSCORE '_'
-#define COFF_LONG_SECTION_NAMES
+/* Long section names not allowed in executable images, only object files. */
+#define COFF_LONG_SECTION_NAMES 0
#define PEI_TARGET_SUBSYSTEM IMAGE_SUBSYSTEM_EFI_RUNTIME_DRIVER
#define PEI_FORCE_MINIMUM_ALIGNMENT