aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/winsup.h
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2011-11-03 17:47:33 +0000
committerCorinna Vinschen <corinna@vinschen.de>2011-11-03 17:47:33 +0000
commit516fbf67a0f6882e592029d69f7b632736cfee0a (patch)
treeacc7eca2a142e829cfb788883b6e5e8276c992dc /winsup/cygwin/winsup.h
parent7c01efe08819da2dbbe804539e8e8fd391a3a969 (diff)
downloadnewlib-516fbf67a0f6882e592029d69f7b632736cfee0a.zip
newlib-516fbf67a0f6882e592029d69f7b632736cfee0a.tar.gz
newlib-516fbf67a0f6882e592029d69f7b632736cfee0a.tar.bz2
* fhandler.cc (off_current): Define local in fhandler_base::raw_write.
Drop erroneous NO_COPY, add _RDATA to make R/O. (off_append): Ditto. * globals.cc (_RDATA): Move definition from here... * winsup.h: ...to here.
Diffstat (limited to 'winsup/cygwin/winsup.h')
-rw-r--r--winsup/cygwin/winsup.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/winsup.h b/winsup/cygwin/winsup.h
index a7b8285..8ca97b7 100644
--- a/winsup/cygwin/winsup.h
+++ b/winsup/cygwin/winsup.h
@@ -23,6 +23,7 @@ details. */
#define NO_COPY __attribute__((nocommon)) __attribute__((section(".data_cygwin_nocopy")))
#define NO_COPY_INIT __attribute__((section(".data_cygwin_nocopy")))
+#define _RDATA __attribute__ ((section(".rdata")))
#define EXPORT_ALIAS(sym,symalias) extern "C" __typeof (sym) symalias __attribute__ ((alias(#sym)));