* 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.
This commit is contained in:
Corinna Vinschen
2011-11-03 17:47:33 +00:00
parent 7c01efe088
commit 516fbf67a0
4 changed files with 13 additions and 8 deletions

View File

@@ -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)));