* doc/as.texinfo (Section): Document 's' flag for COFF version.
authorIan Lance Taylor <ian@airs.com>
Sun, 8 Aug 1999 16:53:30 +0000 (16:53 +0000)
committerIan Lance Taylor <ian@airs.com>
Sun, 8 Aug 1999 16:53:30 +0000 (16:53 +0000)
1999-08-08  Mumit Khan  <khan@xraylith.wisc.edu>

* config/obj-coff.c (obj_coff_section): Handle 's' (shared)
section flag.

gas/ChangeLog
gas/config/obj-coff.c
gas/doc/as.texinfo

index 59900faecafd47b64023cc34498afb5fce427478..cc275063586d2e87d7c18fe742423c3b188de492 100644 (file)
@@ -1,3 +1,12 @@
+1999-08-08  Ian Lance Taylor  <ian@zembu.com>
+
+       * doc/as.texinfo (Section): Document 's' flag for COFF version.
+
+1999-08-08  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * config/obj-coff.c (obj_coff_section): Handle 's' (shared)
+       section flag.
+
 1999-08-08  Ian Lance Taylor  <ian@zembu.com>
 
        * configure.in: Define and substitute GDBINIT.  Change AC_OUTPUT
index b50716c49f061b4430f327415ea2c8c0cd41f41e..c5c268031b3d7b7ec6d967428aa3cfd65a4af8c4 100644 (file)
@@ -1197,6 +1197,7 @@ coff_frob_file_after_relocs ()
  *                                              'd' (apparently m88k for data)
  *                                               'x' for text
  *                                              'r' for read-only data
+ *                                              's' for shared data (PE)
  * But if the argument is not a quoted string, treat it as a
  * subsegment number.
  */
@@ -1254,6 +1255,7 @@ obj_coff_section (ignore)
                case 'w': flags |= SEC_DATA; flags &=~ SEC_READONLY; break;
                case 'x': flags |= SEC_CODE; break;
                case 'r': flags |= SEC_READONLY; break;
+               case 's': flags |= SEC_SHARED; break;
 
                case 'i': /* STYP_INFO */
                case 'l': /* STYP_LIB */
index afe362a7fb28734682faa86392bc40ef4211469a..2b12896c9df203d3e1c0ed16541d2faa777a5da5 100644 (file)
@@ -4291,6 +4291,8 @@ data section
 read-only section
 @item x
 executable section
+@item s
+shared section (meaningful for PE targets)
 @end table
 
 If no flags are specified, the default flags depend upon the section name.  If
This page took 0.036325 seconds and 4 git commands to generate.