From: Nick Clifton Date: Sat, 4 Oct 2003 11:06:31 +0000 (+0000) Subject: (obj_coff_section [BEF_ASSEMBLER]): Make 'r' mean readonly data. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b256d4fdd25ed91f9d5edcdd23d3558b4cbca71b;p=binutils-gdb.git (obj_coff_section [BEF_ASSEMBLER]): Make 'r' mean readonly data. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 0f4d6e9dc98..970f0bb74c2 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2003-10-04 Danny Smith + + * config/obj-coff.c (obj_coff_section [BEF_ASSEMBLER]): + Make 'r' mean readonly data. + 2003-10-01 Thiemo Seufer * config/tc-mips.c (macro_build_ldst_constoffset,load_register,macro): diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c index 5ab0ec69a23..824513c1a68 100644 --- a/gas/config/obj-coff.c +++ b/gas/config/obj-coff.c @@ -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 */