* coff-i386.c (TARGET_SYM): SEC_READONLY is an applicable section
authorDJ Delorie <dj@redhat.com>
Fri, 13 Apr 2001 22:42:48 +0000 (22:42 +0000)
committerDJ Delorie <dj@redhat.com>
Fri, 13 Apr 2001 22:42:48 +0000 (22:42 +0000)
flag on pe-i386 targets.

bfd/ChangeLog
bfd/coff-i386.c

index 623d296..37619b4 100644 (file)
@@ -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.
index fc48044..d35e2ca 100644 (file)
@@ -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),