diff --git a/gcc/gcc/config/rs6000/macos.h b/gcc/gcc/config/rs6000/macos.h index 771d53739e..a4c9ccf2b2 100644 --- a/gcc/gcc/config/rs6000/macos.h +++ b/gcc/gcc/config/rs6000/macos.h @@ -69,7 +69,7 @@ /* Profiled library versions are used by linking with special directories. */ #define LIB_SPEC "-lc" -#define LIBGCC_SPEC "-lretrocrt -lgcc -lInterfaceLib" +#define LIBGCC_SPEC "-lretrocrt -lgcc %{carbon: -lCarbonLib} %{!carbon: -lInterfaceLib}" /* Static linking with shared libstdc++ requires libsupc++ as well. */ #define LIBSTDCXX_STATIC "supc++" diff --git a/gcc/gcc/config/rs6000/rs6000.opt b/gcc/gcc/config/rs6000/rs6000.opt index 79d01d4965..a6d3045a6a 100644 --- a/gcc/gcc/config/rs6000/rs6000.opt +++ b/gcc/gcc/config/rs6000/rs6000.opt @@ -600,3 +600,6 @@ Allow float/double variables in upper registers if cpu allows it moptimize-swaps Target Undocumented Var(rs6000_optimize_swaps) Init(1) Save Analyze and remove doubleword swaps from VSX computations. + +carbon +Target RejectNegative \ No newline at end of file