(obj_coff_section [BEF_ASSEMBLER]): Make 'r' mean readonly data.
authorNick Clifton <nickc@redhat.com>
Sat, 4 Oct 2003 11:06:31 +0000 (11:06 +0000)
committerNick Clifton <nickc@redhat.com>
Sat, 4 Oct 2003 11:06:31 +0000 (11:06 +0000)
gas/ChangeLog
gas/config/obj-coff.c

index 0f4d6e9dc98e9cf6ba4c5829c3e11dd7ca3bb6d0..970f0bb74c2ca58c31fdd7df672316a893fefc6f 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-04  Danny Smith  <danny_r_smith_2001@yahoo.co.nz>
+
+       * config/obj-coff.c (obj_coff_section [BEF_ASSEMBLER]):
+       Make 'r' mean readonly data.
+
 2003-10-01  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
 
        * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro):
index 5ab0ec69a237c11be5465529df01b5244a43205b..824513c1a6803c6e9d50e312c1287d91909ebe5d 100644 (file)
@@ -1474,7 +1474,7 @@ obj_coff_section (ignore)
 
                case 'a': break; /* For compatability with ELF.  */
                case 'x': flags |= SEC_CODE | SEC_LOAD; break;
-               case 'r': flags |= SEC_READONLY; break;
+               case 'r': flags |= SEC_DATA | SEC_LOAD | SEC_READONLY; break;
 
                case 'i': /* STYP_INFO */
                case 'l': /* STYP_LIB */