aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog9
-rw-r--r--gas/config/obj-coff.c2
-rw-r--r--gas/doc/as.texinfo2
3 files changed, 13 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 59900fa..cc27506 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,14 @@
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
line to crate ${GDBINIT} rather than .gdbinit.
* configure, Makefile.in, doc/Makefile.in: Rebuild.
diff --git a/gas/config/obj-coff.c b/gas/config/obj-coff.c
index b50716c..c5c2680 100644
--- a/gas/config/obj-coff.c
+++ b/gas/config/obj-coff.c
@@ -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 */
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo
index afe362a..2b12896 100644
--- a/gas/doc/as.texinfo
+++ b/gas/doc/as.texinfo
@@ -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