diff options
Diffstat (limited to 'gcc-4.4.3')
-rw-r--r-- | gcc-4.4.3/README.google | 5 | ||||
-rw-r--r-- | gcc-4.4.3/libiberty/getpagesize.c | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc-4.4.3/README.google b/gcc-4.4.3/README.google index 807e19c08..83b757e21 100644 --- a/gcc-4.4.3/README.google +++ b/gcc-4.4.3/README.google @@ -2065,3 +2065,8 @@ gcc/config/arm/arm.h Add .note.GNU-stack annotation to all ARM targeted codes. Owner: jingyu Status: keep it local + +libiberty/getpagesize.c + Local work around for building C++ library for Android toolchain. + Owner: jingyu + Status: keep it local diff --git a/gcc-4.4.3/libiberty/getpagesize.c b/gcc-4.4.3/libiberty/getpagesize.c index 1c3a26304..4d44f30f1 100644 --- a/gcc-4.4.3/libiberty/getpagesize.c +++ b/gcc-4.4.3/libiberty/getpagesize.c @@ -60,12 +60,13 @@ BUGS # endif /* PAGESIZE */ #endif /* GNU_OUR_PAGESIZE */ +#if DEFAULT_LIBC != LIBC_BIONIC int getpagesize (void) { return (GNU_OUR_PAGESIZE); } - +#endif #else /* VMS */ #if 0 /* older distributions of gcc-vms are missing <syidef.h> */ |