newlib-cygwin/winsup/cygwin/include
Dave Korn b602bb90e2 winsup/ChangeLog:
* Makefile.common (COMPILE_CXX): Add support for per-file overrides
	to exclude $(nostdinc) and $(nostdincxx) from compiler flags.
	(COMPILE_CC): Likewise for $(nostdinc).

winsup/cygwin/ChangeLog:

	* Makefile.in (DLL_OFILES): Add libstdcxx_wrapper.o
	(libstdcxx_wrapper_CFLAGS): Add flags for new module.
	(_cygwin_crt0_common_STDINCFLAGS): Define per-file override.
	(libstdcxx_wrapper_STDINCFLAGS, cxx_STDINCFLAGS): Likewise.
	* cxx.cc: Include "cygwin-cxx.h".
	(operator new): Tweak prototype for full standards compliance.
	(operator new[]): Likewise.
	(operator new (nothrow)): New fallback function.
	(operator new[] (nothrow), operator delete (nothrow),
	operator delete[] (nothrow)): Likewise.
	(default_cygwin_cxx_malloc): New struct of pointers to the above,
	for final last-resort fallback default.
	* cygwin-cxx.h: New file.
	(struct per_process_cxx_malloc): Define.
	(default_cygwin_cxx_malloc): Declare extern.
	* cygwin.din (__wrap__ZdaPv): Export new wrapper.
	(__wrap__ZdaPvRKSt9nothrow_t, __wrap__ZdlPv,
	__wrap__ZdlPvRKSt9nothrow_t, __wrap__Znaj,
	__wrap__ZnajRKSt9nothrow_t, __wrap__Znwj,
	__wrap__ZnwjRKSt9nothrow_t): Likewise.
	* globals.cc (__cygwin_user_data): Init newly-repurposed 'forkee'
	field (now 'cxx_malloc') to point to default_cygwin_cxx_malloc.
	* libstdcxx_wrapper.cc: New file.
	(__wrap__ZdaPv, __wrap__ZdaPvRKSt9nothrow_t, __wrap__ZdlPv,
	__wrap__ZdlPvRKSt9nothrow_t, __wrap__Znaj,
	__wrap__ZnajRKSt9nothrow_t, __wrap__Znwj,
	__wrap__ZnwjRKSt9nothrow_t): Define wrapper functions for libstdc++
	malloc operators and their overrides.
	* winsup.h (default_cygwin_cxx_malloc): Declare extern.
	* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
	* include/sys/cygwin.h (struct per_process_cxx_malloc): Forward
	declare here.
	(struct per_process::forkee): Rename and repurpose from this ...
	(struct per_process::cxx_malloc): ... to this.
	* lib/_cygwin_crt0_common.cc: Include cygwin-cxx.h.
	(WEAK): Define shorthand helper macro.
	(__cygwin_cxx_malloc): Define and populate with weak references
	to whatever libstdc++ malloc operators will be visible at final
	link time for Cygwin apps and dlls.
	(_cygwin_crt0_common): Always look up cygwin DLL's internal
	per_process data, and don't test for (impossible) failure.  Inherit
	any members of __cygwin_cxx_malloc that we don't have overrides
	for from the DLL's default and store the resulting overall set of
	overrides back into the DLL's global per_process data.
2009-07-07 20:12:44 +00:00
..
arpa * Makefile.in (DLL_OFILES): Add minires-os-if.o and minires.o. 2006-12-11 19:59:06 +00:00
asm * include/asm/byteorder.h (__ntohl): Prototype before define to avoid 2009-04-04 15:49:05 +00:00
attr * fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): Remove unused 2008-02-11 19:03:36 +00:00
bits * include/bits/wordsize.h: New linux-compatibility header. 2008-12-31 04:12:44 +00:00
cygwin winsup/ChangeLog: 2009-07-07 20:12:44 +00:00
machine
net
netinet
sys winsup/ChangeLog: 2009-07-07 20:12:44 +00:00
a.out.h
byteswap.h
dlfcn.h
elf.h
endian.h
err.h
exceptions.h
fcntl.h * syscalls.cc (open): Handle O_DIRECTORY flag. 2009-02-11 16:06:39 +00:00
features.h
fnmatch.h
fts.h
ftw.h * include/ftw.h: Include sys/cdefs.h. 2007-01-28 11:27:05 +00:00
getopt.h
glob.h * glob_pattern_p.cc: New file. 2008-12-31 21:33:34 +00:00
icmp.h
ifaddrs.h * autoload.cc (WSAIoctl): Remove. 2007-06-21 15:57:54 +00:00
inttypes.h * include/inttypes.h: Remove "l" size specifier from all 16 and 32 bit 2009-03-15 13:29:04 +00:00
io.h
lastlog.h
libgen.h
limits.h * include/limits.h (PATH_MAX): Add comment. 2008-06-21 20:24:45 +00:00
mapi.h
memory.h
mntent.h * include/mntent.h: Remove declarations of nonexistant addmntent 2009-03-24 09:19:37 +00:00
mqueue.h * posix_ipc.cc (mq_open): Avoid compiler warning. Initialize mqhdr 2007-02-15 17:49:25 +00:00
netdb.h * include/netdb.h: #include <inttypes.h>, <netinet/in.h>, 2009-04-02 08:48:03 +00:00
paths.h
poll.h
pthread.h * cygmalloc.h (MALLOC_FAILURE_ACTION): Define empty. 2007-02-07 17:22:40 +00:00
pty.h
resolv.h * resolv.h: #include <netinet/in.h> for sockaddr_in typedef. 2008-12-09 16:09:46 +00:00
sched.h
search.h * include/search.h: Reinstate node_t definition. 2007-06-17 00:31:27 +00:00
semaphore.h * cygwin.din (sem_unlink): Export. 2007-02-20 15:48:04 +00:00
stdint.h * include/stdint.h (intptr_t): Remove long from type. 2009-04-13 22:55:00 +00:00
strings.h Perform whitespace cleanup throughout. 2008-02-15 17:53:11 +00:00
sysexits.h
syslog.h
termio.h
tzfile.h
utmpx.h
wait.h * include/wait.h: New file. 2008-04-24 08:46:41 +00:00