summaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-07 09:35:15 +0000
committerktietz <ktietz@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-07 09:35:15 +0000
commit4bc312c57571c765b72ab320f870147495427db1 (patch)
treed05b512d4849fae49f07165f43623b14c98f46bb /gcc/doc
parentb36be69d99e98e6ec45bd6959764bbf2633f2c3c (diff)
downloadgcc-4bc312c57571c765b72ab320f870147495427db1.tar.gz
* doc/invoke.texi (fwritable-relocated-rdata): Document
new Cygwin/MinGW target option. * config/i386/winnt.c (i386_pe_unique_section): Ignore reloc if flag -fwritable-relocated-rdata is not set. (i386_pe_section_type_flags): Likewise. * config/i386/cygming.opt (fwritable-relocated-rdata): Add new flag variable flag_writable_rel_rdata. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185027 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/invoke.texi7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index d10156b1292..969fcbe594b 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -14014,6 +14014,13 @@ set. This is necessary for binaries running in kernel mode of
Microsoft Windows, as there the User32 API, which is used to set executable
privileges, isn't available.
+@item -fwritable-relocated-rdata
+@opindex fno-writable-relocated-rdata
+This option is available for MinGW and Cygwin targets. It specifies
+that relocated-data in read-only section is put into .data
+section. This is a necessary for older runtimes not supporting
+modification of .rdata sections for pseudo-relocation.
+
@item -mpe-aligned-commons
@opindex mpe-aligned-commons
This option is available for Cygwin and MinGW targets. It