aboutsummaryrefslogtreecommitdiff
path: root/fixincludes/tests/base
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2018-02-22 16:12:26 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2018-02-22 11:12:26 -0500
commit58730d1899b1deb723c0b13984fda1768ae73408 (patch)
treeced2104e8e7b7b50c8d87cedf7b0239bfd923427 /fixincludes/tests/base
parenta11f3649d785265672d61d63d099f4a445c41c45 (diff)
downloadgcc-58730d1899b1deb723c0b13984fda1768ae73408.zip
gcc-58730d1899b1deb723c0b13984fda1768ae73408.tar.gz
gcc-58730d1899b1deb723c0b13984fda1768ae73408.tar.bz2
inclhack.def (aix_stdlib_vec_malloc): New.
* inclhack.def (aix_stdlib_vec_malloc): New. (aix_stdlib_vec_calloc): New. * fixincl.x: Regenerate. * tests/base/stdlib.h [AIX_STDLIB_VEC_MALLOC]: New test. [AIX_STDLIB_VEC_CALLOC]: New test. From-SVN: r257902
Diffstat (limited to 'fixincludes/tests/base')
-rw-r--r--fixincludes/tests/base/stdlib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/fixincludes/tests/base/stdlib.h b/fixincludes/tests/base/stdlib.h
index cee7e5d..99092de 100644
--- a/fixincludes/tests/base/stdlib.h
+++ b/fixincludes/tests/base/stdlib.h
@@ -29,6 +29,16 @@ extern void *valloc(size_t) __asm__("__linux_valloc");
#endif /* AIX_STDLIB_VALLOC_CHECK */
+#if defined( AIX_STDLIB_VEC_MALLOC_CHECK )
+extern void *malloc(size_t) __asm__("vec_malloc");
+#endif /* AIX_STDLIB_VEC_MALLOC_CHECK */
+
+
+#if defined( AIX_STDLIB_VEC_CALLOC_CHECK )
+extern void *calloc(size_t, size_t) __asm__("vec_calloc");
+#endif /* AIX_STDLIB_VEC_CALLOC_CHECK */
+
+
#if defined( AIX_STRTOF_CONST_CHECK )
extern float strtof(const char *, char **);
#endif /* AIX_STRTOF_CONST_CHECK */