diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2004-06-10 22:18:33 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2004-06-10 22:18:33 +0000 |
| commit | aabc36c5b82b54b0b0a83652ca3bdd450d630fee (patch) | |
| tree | f3c0786b7b959307f4591408240a92e7d6799095 /gnu | |
| parent | 543912b386308e52d7253d42d3d5d1f42d5f53c5 (diff) | |
Notes
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/usr.bin/cc/cc_tools/Makefile | 1 | ||||
| -rw-r--r-- | gnu/usr.bin/cc/cc_tools/freebsd64-fix.h | 9 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc_tools/Makefile b/gnu/usr.bin/cc/cc_tools/Makefile index 5d9535a4191e..f9895359c784 100644 --- a/gnu/usr.bin/cc/cc_tools/Makefile +++ b/gnu/usr.bin/cc/cc_tools/Makefile @@ -187,6 +187,7 @@ TARGET_INC+= ${GCC_CPU}/freebsd.h .if ${TARGET_ARCH} == "amd64" TARGET_INC+= ${GCC_CPU}/x86-64.h TARGET_INC+= ${GCC_CPU}/freebsd64.h +TARGET_INC+= ${.CURDIR}/freebsd64-fix.h .endif TARGET_INC+= defaults.h diff --git a/gnu/usr.bin/cc/cc_tools/freebsd64-fix.h b/gnu/usr.bin/cc/cc_tools/freebsd64-fix.h new file mode 100644 index 000000000000..23f14d1e088d --- /dev/null +++ b/gnu/usr.bin/cc/cc_tools/freebsd64-fix.h @@ -0,0 +1,9 @@ +/* + * config/i386/freebsd64.h neglects to override the default bogus mcount + * function name. In order to avoid touching vendor source while gcc3.4 + * is in progress, try a minimal workaround. + * + * $FreeBSD$ + */ +#undef MCOUNT_NAME +#define MCOUNT_NAME ".mcount" |
