Module Name: src Committed By: christos Date: Wed Apr 18 02:55:06 UTC 2012
Modified Files: src/external/gpl3/gcc/dist/libmudflap: mf-hooks1.c mf-hooks2.c mf-impl.h mf-runtime.c mf-runtime.h Log Message: NetBSD fixes: 1. thread_self() returns a pointer, not an unsigned integer 2. Add NetBSD to Apple and FreeBSD defines 3. Add _NETBSD_SOURCE where needed 4. Add an extra define BEGIN_PROTECTV for void functions to avoid return free(); where free is void. 5. Avoid weak symbol hacks to determine if we are threaded or not. We have a threaded copy of the library, why bother? 6. change __attribute -> __attribute__ since the former is not covered by our cdefs.h To generate a diff of this commit: cvs rdiff -u -r1.1.1.1 -r1.2 \ src/external/gpl3/gcc/dist/libmudflap/mf-hooks1.c \ src/external/gpl3/gcc/dist/libmudflap/mf-hooks2.c \ src/external/gpl3/gcc/dist/libmudflap/mf-impl.h \ src/external/gpl3/gcc/dist/libmudflap/mf-runtime.c \ src/external/gpl3/gcc/dist/libmudflap/mf-runtime.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.