(obj_coff_section [BEF_ASSEMBLER]): Make 'r' mean readonly data.

This commit is contained in:
Nick Clifton 2003-10-04 11:06:31 +00:00
parent 27c630ba7a
commit b256d4fdd2
2 changed files with 6 additions and 1 deletions

View 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):

View 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 */