aboutsummaryrefslogtreecommitdiff
path: root/bfd/efi-bsdrv-ia32.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/efi-bsdrv-ia32.c')
-rw-r--r--bfd/efi-bsdrv-ia32.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/efi-bsdrv-ia32.c b/bfd/efi-bsdrv-ia32.c
index 2825b11..112b2b4 100644
--- a/bfd/efi-bsdrv-ia32.c
+++ b/bfd/efi-bsdrv-ia32.c
@@ -1,5 +1,5 @@
/* BFD back-end for Intel IA-32 EFI Boot Service 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_BOOT_SERVICE_DRIVER
#define PEI_FORCE_MINIMUM_ALIGNMENT