Skip to content

Commit

Permalink
tile: Enable PI_STATIC_AND_HIDDEN
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Chris Metcalf committed Apr 16, 2015
1 parent fb78612 commit da6989f
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>

* sysdeps/tile/configure.ac: New file.
* sysdeps/tile/configure: Regenerated.

2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>

* wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
Expand Down
7 changes: 7 additions & 0 deletions sysdeps/tile/configure
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# This file is generated from configure.ac by Autoconf. DO NOT EDIT!
# Local configure fragment for sysdeps/tile.

# We can always access static and hidden symbols in a position independent way.
$as_echo "#define PI_STATIC_AND_HIDDEN 1" >>confdefs.h

# work around problem with autoconf and empty lines at the end of files
6 changes: 6 additions & 0 deletions sysdeps/tile/configure.ac
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit da6989f

Please sign in to comment.