don't "fix" ((void *)0) to 0 (PR 48851)

2011-10-22 Thread Jonathan Gray
fixincludes was changing the definition of NULL on OpenBSD from #ifndef NULL #ifdef __GNUG__ #define NULL__null #else #define NULL((void *)0) #endif #endif to #ifndef NULL #ifdef __GNUG__ #define NULL__null #else #define NULL 0 #endif #endif Posting the proposed fix from Mike in

Handle -rdynamic on OpenBSD

2011-10-22 Thread Jonathan Gray
The following lets -rdynamic work on OpenBSD. Added to every OpenBSD target that defines LIB_SPEC. Gerald Pfeifer has previously volunteered to apply my patches based on maintainer approval. 2011-10-22 Jonathan Gray * config/openbsd.opt (rdynamic): New Driver option. * config