diff options
author | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-07-10 14:45:03 +0000 |
---|---|---|
committer | nwhitehorn <nwhitehorn@FreeBSD.org> | 2010-07-10 14:45:03 +0000 |
commit | a1ab13ffb6886a17aa1e1be328219d1d34b9d68a (patch) | |
tree | 838c4a97263bbcdc2d8e8728ecd744e5a9c73c03 /lib/libc/gmon | |
parent | 8c6113bcffdd4be4e178fd6d72c3b9c4fb7d6639 (diff) | |
download | FreeBSD-src-a1ab13ffb6886a17aa1e1be328219d1d34b9d68a.zip FreeBSD-src-a1ab13ffb6886a17aa1e1be328219d1d34b9d68a.tar.gz |
Provide 64-bit PowerPC support in libc.
Obtained from: projects/ppc64
Diffstat (limited to 'lib/libc/gmon')
-rw-r--r-- | lib/libc/gmon/gmon.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/libc/gmon/gmon.c b/lib/libc/gmon/gmon.c index d699a80..edf4e2f 100644 --- a/lib/libc/gmon/gmon.c +++ b/lib/libc/gmon/gmon.c @@ -50,8 +50,10 @@ __FBSDID("$FreeBSD$"); #include "libc_private.h" -#if defined(__i386__) || defined(__sparc64__) || defined(__amd64__) || defined(__powerpc__) +#if defined(__i386__) || defined(__sparc64__) || defined(__amd64__) || (defined(__powerpc__) && !defined(__powerpc64__)) extern char *minbrk __asm (".minbrk"); +#elif defined(__powerpc64__) +extern char *minbrk __asm ("_minbrk"); #else extern char *minbrk __asm ("minbrk"); #endif |