From b256d4fdd25ed91f9d5edcdd23d3558b4cbca71b Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Sat, 4 Oct 2003 11:06:31 +0000 Subject: [PATCH] (obj_coff_section [BEF_ASSEMBLER]): Make 'r' mean readonly data. --- gas/ChangeLog | 5 +++++ gas/config/obj-coff.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 */ -- 2.30.2