freebsd-native.h (195151) | freebsd-native.h (195152) |
---|---|
1/* $FreeBSD: head/gnu/usr.bin/cc/cc_tools/freebsd-native.h 195151 2009-06-28 23:51:39Z kan $ */ | 1/* $FreeBSD: head/gnu/usr.bin/cc/cc_tools/freebsd-native.h 195152 2009-06-29 01:33:59Z kan $ */ |
2 3/* FREEBSD_NATIVE is defined when gcc is integrated into the FreeBSD 4 source tree so it can be configured appropriately without using 5 the GNU configure/build mechanism. */ 6 7#define FREEBSD_NATIVE 1 8 9/* Fake out gcc/config/freebsd<version>.h. */ --- 47 unchanged lines hidden (view full) --- 57#define LIBGCC_SPEC "-lgcc" 58/* For the native system compiler, we actually build libgcc in a profiled 59 version. So we should use it with -pg. */ 60#define LIBGCC_STATIC_LIB_SPEC "%{pg: -lgcc_p;:-lgcc}" 61#define LIBGCC_EH_STATIC_LIB_SPEC "%{pg: -lgcc_eh_p;:-lgcc_eh}" 62 63/* FreeBSD is 4.4BSD derived */ 64#define bsd4_4 | 2 3/* FREEBSD_NATIVE is defined when gcc is integrated into the FreeBSD 4 source tree so it can be configured appropriately without using 5 the GNU configure/build mechanism. */ 6 7#define FREEBSD_NATIVE 1 8 9/* Fake out gcc/config/freebsd<version>.h. */ --- 47 unchanged lines hidden (view full) --- 57#define LIBGCC_SPEC "-lgcc" 58/* For the native system compiler, we actually build libgcc in a profiled 59 version. So we should use it with -pg. */ 60#define LIBGCC_STATIC_LIB_SPEC "%{pg: -lgcc_p;:-lgcc}" 61#define LIBGCC_EH_STATIC_LIB_SPEC "%{pg: -lgcc_eh_p;:-lgcc_eh}" 62 63/* FreeBSD is 4.4BSD derived */ 64#define bsd4_4 |
65 66/* 67 * Link in libssp_nonshared to get local hidden symbol for 68 * __stack_chk_fail_local into each binary that needs it. 69 * Linux does this with static part of their libc.so linker script, we reuse 70 * libssp_nonshared.a for the same purpose. 71 */ 72#define LINK_SSP_SPEC "%{fstack-protector|fstack-protector-all:-lssp_nonshared}" | |