about summary refs log tree commit diff
path: root/sysdeps/tile/configure.ac
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@ezchip.com>2015-04-16 09:40:21 -0400
committerChris Metcalf <cmetcalf@ezchip.com>2015-04-16 09:40:21 -0400
commitda6989f9a5ec774419b7499b6270e60a8afde9df (patch)
tree647bfce94c4943fefdcf2887104ef3d6ade8fae9 /sysdeps/tile/configure.ac
parentfb78612a963cfe1299b33b1c60a0c24a206276c3 (diff)
downloadglibc-da6989f9a5ec774419b7499b6270e60a8afde9df.tar.gz
glibc-da6989f9a5ec774419b7499b6270e60a8afde9df.tar.xz
glibc-da6989f9a5ec774419b7499b6270e60a8afde9df.zip
tile: Enable PI_STATIC_AND_HIDDEN
This does make ld.so very slightly larger (0.3%) and doesn't seem to
actually improve performance; in fact, my limited testing suggested a
slight (0.1%) performance decrease (running fork/exec of a no-op program
in a loop), but I didn't do enough testing to establish statistical
significance.

However, Roland agrees that it makes sense to switch tile to using
this path, since it's the more standard way.
Diffstat (limited to 'sysdeps/tile/configure.ac')
-rw-r--r--sysdeps/tile/configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdeps/tile/configure.ac b/sysdeps/tile/configure.ac
new file mode 100644
index 0000000000..6e246a3bc9
--- /dev/null
+++ b/sysdeps/tile/configure.ac
@@ -0,0 +1,6 @@
+GLIBC_PROVIDES dnl See aclocal.m4 in the top level source directory.
+# Local configure fragment for sysdeps/tile.
+
+# We can always access static and hidden symbols in a position independent way.
+AC_DEFINE(PI_STATIC_AND_HIDDEN)
+# work around problem with autoconf and empty lines at the end of files