Commit 5b51b1f5 by David O'Brien Committed by Loren J. Rittle

freebsd.h (LINK_SHLIB_SPEC): New macro.

	* config/rs6000/freebsd.h (LINK_SHLIB_SPEC): New macro.
	(SIZE_TYPE): New macro.

From-SVN: r66217
parent 667b43dd
2003-04-29 David O'Brien <obrien@FreeBSD.org>
* config/i386/freebsd64.h (LINK_SPEC): Mirror FreeBSD linker.
* config/rs6000/freebsd.h (LINK_SHLIB_SPEC): New macro.
(SIZE_TYPE): New macro.
2003-04-28 Mark Mitchell <mark@codesourcery.com>
......
......@@ -39,6 +39,11 @@
#undef LINK_OS_DEFAULT_SPEC
#define LINK_OS_DEFAULT_SPEC "%(link_os_freebsd)"
/* XXX: This is wrong for many platforms in sysv4.h.
We should work on getting that defination fixed. */
#undef LINK_SHLIB_SPEC
#define LINK_SHLIB_SPEC "%{shared:-shared} %{!shared: %{static:-static}}"
/************************[ Target stuff ]***********************************/
......@@ -46,6 +51,9 @@
Needs to agree with <machine/ansi.h>. GCC defaults come from c-decl.c,
c-common.c, and config/<arch>/<arch>.h. */
#undef SIZE_TYPE
#define SIZE_TYPE "unsigned int"
/* rs6000.h gets this wrong for FreeBSD. We use the GCC defaults instead. */
#undef WCHAR_TYPE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment