OSDN Git Service

* config/rs6000/freebsd.h (LINK_SHLIB_SPEC): New macro.
[pf3gnuchains/gcc-fork.git] / gcc / config / rs6000 / freebsd.h
index 22e01be..be71d5d 100644 (file)
 #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