summaryrefslogtreecommitdiff
path: root/bfd/coff-i386.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@delorie.com>2001-04-13 22:42:48 +0000
committerDJ Delorie <dj@delorie.com>2001-04-13 22:42:48 +0000
commita7a03eeec33dc0bf33d534f16e5cb300ba6f5aaa (patch)
treea938f955db5ba86db48e79c18bf858b5cf193fbb /bfd/coff-i386.c
parent61baabd32dc447d38180b86a60eeb1aaef1a8533 (diff)
downloadgdb-a7a03eeec33dc0bf33d534f16e5cb300ba6f5aaa.tar.gz
* coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section
flag on pe-i386 targets.
Diffstat (limited to 'bfd/coff-i386.c')
-rw-r--r--bfd/coff-i386.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/coff-i386.c b/bfd/coff-i386.c
index fc48044927f..d35e2cad40a 100644
--- a/bfd/coff-i386.c
+++ b/bfd/coff-i386.c
@@ -1,6 +1,6 @@
/* BFD back-end for Intel 386 COFF files.
Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000
+ 2000, 2001
Free Software Foundation, Inc.
Written by Cygnus Support.
@@ -576,7 +576,7 @@ const bfd_target
(SEC_HAS_CONTENTS | SEC_ALLOC | SEC_LOAD | SEC_RELOC /* section flags */
#ifdef COFF_WITH_PE
- | SEC_LINK_ONCE | SEC_LINK_DUPLICATES
+ | SEC_LINK_ONCE | SEC_LINK_DUPLICATES | SEC_READONLY
#endif
| SEC_CODE | SEC_DATA),