From: Ian Lance Taylor Date: Sat, 26 Jun 1999 19:35:44 +0000 (+0000) Subject: 1999-06-26 Mumit Khan X-Git-Tag: gdb-1999-06-28~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=827c01493eb77e7e1f7af61514d971447a97ae51;p=external%2Fbinutils.git 1999-06-26 Mumit Khan * config/obj-coff.c (obj_coff_section): Mark writable sections as data. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 9d0c758..2a8adb5 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 d242268..781d23d 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;