diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-08-08 16:53:30 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-08-08 16:53:30 +0000 |
commit | 2dcc60be2b8ae13b4fadfe9e2ac5fc7a8ee223f2 (patch) | |
tree | d0055f84a174efe6325fd5d03de44571b9d9a289 | |
parent | bd826630b1258af33355c6d6906ce42111b2f8fb (diff) | |
download | gdb-2dcc60be2b8ae13b4fadfe9e2ac5fc7a8ee223f2.zip gdb-2dcc60be2b8ae13b4fadfe9e2ac5fc7a8ee223f2.tar.gz gdb-2dcc60be2b8ae13b4fadfe9e2ac5fc7a8ee223f2.tar.bz2 |
* 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.
-rw-r--r-- | gas/ChangeLog | 9 | ||||
-rw-r--r-- | gas/config/obj-coff.c | 2 | ||||
-rw-r--r-- | gas/doc/as.texinfo | 2 |
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 |