aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-i386.c
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2001-04-13 22:42:48 +0000
committerDJ Delorie <dj@redhat.com>2001-04-13 22:42:48 +0000
commitbaf80c32aec74040d4bdb3ad85997f2253e832f7 (patch)
treeef3ce32a8fa3f018b240b8afd472d910d112afa0 /bfd/coff-i386.c
parentd1566ff56263eb8c4af82843dd568ca6ec446df0 (diff)
downloadgdb-baf80c32aec74040d4bdb3ad85997f2253e832f7.zip
gdb-baf80c32aec74040d4bdb3ad85997f2253e832f7.tar.gz
gdb-baf80c32aec74040d4bdb3ad85997f2253e832f7.tar.bz2
* 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 fc48044..d35e2ca 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),