summaryrefslogtreecommitdiff
path: root/bfd/pei-sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/pei-sh.c')
-rw-r--r--bfd/pei-sh.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/pei-sh.c b/bfd/pei-sh.c
index 56c9b18efc..b5e395280f 100644
--- a/bfd/pei-sh.c
+++ b/bfd/pei-sh.c
@@ -1,5 +1,5 @@
/* BFD back-end for SH PE IMAGE COFF files.
- Copyright 1995, 2000, 2001, 2002, 2007 Free Software Foundation, Inc.
+ Copyright 1995, 2000, 2001, 2002, 2007, 2009 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
@@ -28,7 +28,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
#include "coff-sh.c"