From 827c01493eb77e7e1f7af61514d971447a97ae51 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sat, 26 Jun 1999 19:35:44 +0000 Subject: [PATCH] 1999-06-26 Mumit Khan * config/obj-coff.c (obj_coff_section): Mark writable sections as 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 9d0c758daf4..2a8adb53f70 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +1999-06-26 Mumit Khan + + * config/obj-coff.c (obj_coff_section): Mark writable sections as + data. + 1999-06-26 David Mosberger * dwarf2dbg.c (dwarf2_gen_line_info): Don't call diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c index d242268689f..781d23daf99 100644 --- a/gas/config/obj-coff.c +++ b/gas/config/obj-coff.c @@ -1247,7 +1247,7 @@ obj_coff_section (ignore) case 'b': flags |= SEC_ALLOC; flags &=~ SEC_LOAD; break; case 'n': flags &=~ SEC_LOAD; break; case 'd': - case 'w': flags &=~ SEC_READONLY; break; + case 'w': flags |= SEC_DATA; flags &=~ SEC_READONLY; break; case 'x': flags |= SEC_CODE; break; case 'r': flags |= SEC_READONLY; break; -- 2.30.2