* 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.
This commit is contained in:
Ian Lance Taylor 1999-08-08 16:53:30 +00:00
parent bd826630b1
commit 2dcc60be2b
3 changed files with 13 additions and 0 deletions

View 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

View 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 */

View 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