Changeset View
Changeset View
Standalone View
Standalone View
head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips
Show First 20 Lines • Show All 58 Lines • ▼ Show 20 Lines | |||||
/* Output the size directive for a decl in rest_of_decl_compilation | /* Output the size directive for a decl in rest_of_decl_compilation | ||||
in the case where we did not do so before the initializer. | in the case where we did not do so before the initializer. | ||||
diff --git a/gcc/config/mips/freebsd.h b/gcc/config/mips/freebsd.h | diff --git a/gcc/config/mips/freebsd.h b/gcc/config/mips/freebsd.h | ||||
new file mode 100644 | new file mode 100644 | ||||
index 0000000..56a921e | index 0000000..56a921e | ||||
--- /dev/null | --- /dev/null | ||||
+++ gcc/config/mips/freebsd.h | +++ gcc/config/mips/freebsd.h | ||||
@@ -0,0 +1,320 @@ | @@ -0,0 +1,325 @@ | ||||
+/* Definitions for MIPS varients running FreeBSD with ELF format | +/* Definitions for MIPS varients running FreeBSD with ELF format | ||||
+ Copyright (C) 2008 Free Software Foundation, Inc. | + Copyright (C) 2008 Free Software Foundation, Inc. | ||||
+ Continued by David O'Brien <obrien@freebsd.org> | + Continued by David O'Brien <obrien@freebsd.org> | ||||
+ | + | ||||
+This file is part of GCC. | +This file is part of GCC. | ||||
+ | + | ||||
+GCC is free software; you can redistribute it and/or modify | +GCC is free software; you can redistribute it and/or modify | ||||
+it under the terms of the GNU General Public License as published by | +it under the terms of the GNU General Public License as published by | ||||
▲ Show 20 Lines • Show All 231 Lines • ▼ Show 20 Lines | |||||
+ /* No language dialect defines. */ \ | + /* No language dialect defines. */ \ | ||||
+ if (TARGET_ABICALLS) \ | + if (TARGET_ABICALLS) \ | ||||
+ builtin_define ("__ABICALLS__"); \ | + builtin_define ("__ABICALLS__"); \ | ||||
+ } \ | + } \ | ||||
+ while (0) | + while (0) | ||||
+ | + | ||||
+/* Always pass ISA to drivers */ | +/* Always pass ISA to drivers */ | ||||
+#undef DRIVER_SELF_SPECS | +#undef DRIVER_SELF_SPECS | ||||
+#define DRIVER_SELF_SPECS \ | +#define DRIVER_SELF_SPECS \ | ||||
+ MIPS_DEFAULT_ISA_LEVEL_SPEC, \ | + MIPS_DEFAULT_ISA_LEVEL_SPEC, \ | ||||
+ MIPS_ISA_LEVEL_SPEC, \ | + MIPS_ISA_LEVEL_SPEC, \ | ||||
+ \ | |||||
+ /* Make sure that an endian option is always present. This makes \ | |||||
+ things like LINK_SPEC easier to write. */ \ | |||||
+ "%{!EB:%{!EL:%(endian_spec)}}", \ | |||||
+ \ | |||||
+ BASE_DRIVER_SELF_SPECS | + BASE_DRIVER_SELF_SPECS | ||||
+ | + | ||||
+#if 0 | +#if 0 | ||||
+/* Don't default to pcc-struct-return, we want to retain compatibility with | +/* Don't default to pcc-struct-return, we want to retain compatibility with | ||||
+ older gcc versions AND pcc-struct-return is nonreentrant. | + older gcc versions AND pcc-struct-return is nonreentrant. | ||||
+ (even though the SVR4 ABI for the i386 says that records and unions are | + (even though the SVR4 ABI for the i386 says that records and unions are | ||||
+ returned in memory). */ | + returned in memory). */ | ||||
+ | + | ||||
▲ Show 20 Lines • Show All 75 Lines • Show Last 20 Lines |