about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorAndrew Senkevich <andrew.senkevich@intel.com>2015-05-25 21:20:20 +0300
committerAndrew Senkevich <andrew.senkevich@intel.com>2015-05-25 21:20:20 +0300
commit829a679fac1fe173e81cb2c08204d2da86cf3f3a (patch)
tree66a26feb1b1a14f0f69f657285640910a4f16115 /include
parent3e058c9d7eab6d6361e7cda5ba1394bc1757c9f6 (diff)
downloadglibc-829a679fac1fe173e81cb2c08204d2da86cf3f3a.tar.gz
glibc-829a679fac1fe173e81cb2c08204d2da86cf3f3a.tar.xz
glibc-829a679fac1fe173e81cb2c08204d2da86cf3f3a.zip
Localplt testing for vector math library and libmvec_hidden_* macro series.
    * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
    * include/libc-symbols.h: libmvec_hidden_* macro series added.
Diffstat (limited to 'include')
-rw-r--r--include/libc-symbols.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/libc-symbols.h b/include/libc-symbols.h
index ca3fe00c88..743b6f6f5b 100644
--- a/include/libc-symbols.h
+++ b/include/libc-symbols.h
@@ -546,6 +546,26 @@ for linking")
 # define libm_hidden_data_ver(local, name)
 #endif
 
+#if IS_IN (libmvec)
+# define libmvec_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
+# define libmvec_hidden_tls_proto(name, attrs...) hidden_tls_proto (name, ##attrs)
+# define libmvec_hidden_def(name) hidden_def (name)
+# define libmvec_hidden_weak(name) hidden_weak (name)
+# define libmvec_hidden_ver(local, name) hidden_ver (local, name)
+# define libmvec_hidden_data_def(name) hidden_data_def (name)
+# define libmvec_hidden_data_weak(name) hidden_data_weak (name)
+# define libmvec_hidden_data_ver(local, name) hidden_data_ver (local, name)
+#else
+# define libmvec_hidden_proto(name, attrs...)
+# define libmvec_hidden_tls_proto(name, attrs...)
+# define libmvec_hidden_def(name)
+# define libmvec_hidden_weak(name)
+# define libmvec_hidden_ver(local, name)
+# define libmvec_hidden_data_def(name)
+# define libmvec_hidden_data_weak(name)
+# define libmvec_hidden_data_ver(local, name)
+#endif
+
 #if IS_IN (libresolv)
 # define libresolv_hidden_proto(name, attrs...) hidden_proto (name, ##attrs)
 # define libresolv_hidden_tls_proto(name, attrs...) \