aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/coff-i386.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 623d296..37619b4 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2001-04-13 Roger Sayle <roger@metaphorics.com>
+
+ * coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section
+ flag on pe-i386 targets.
+
2001-04-13 Jakub Jelinek <jakub@redhat.com>
* libbfd-in.h (_bfd_merge_section): New.
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),