about summary refs log tree commit diff
path: root/sysdeps/powerpc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-08-22 13:49:14 +0200
committerFlorian Weimer <fweimer@redhat.com>2017-08-22 13:50:28 +0200
commit8d2ec553295a16ca94fe0285d6307e3b00a402d6 (patch)
tree6063f386c50d86e8b3608f95a4c86732d8406fc9 /sysdeps/powerpc
parenta4d57b79478f214cdf535eb941abdd71e0071edc (diff)
downloadglibc-8d2ec553295a16ca94fe0285d6307e3b00a402d6.tar.gz
glibc-8d2ec553295a16ca94fe0285d6307e3b00a402d6.tar.xz
glibc-8d2ec553295a16ca94fe0285d6307e3b00a402d6.zip
Add hidden visibility to internal function prototypes
Add hidden visibility to internal function prototypes to allow direct
access to internal functions within libc.a without using GOT when the
compiler defaults to -fPIE.

Size comparison of elf/ldconfig when the compiler defaults to -fPIE:

On x86-64:
        text	   data	    bss	    dec	    hex
Before: 619646	  20132	   5488	 645266	  9d892
After : 619502	  20132	   5488	 645122	  9d802
On i686:
        text	   data	    bss	    dec	    hex
Before: 550333	  10748	   3060	 564141	  89bad
After : 546453	  10732	   3060	 560245	  88c75

	* include/libc-symbols.h (__hidden_proto_hiddenattr): New for
	building libc.a.
	(hidden_proto): Likewise.
	(hidden_tls_proto): Likewise.
	(__hidden_proto): Likewise.

(Reapplied after the revert in df1deda60050cc8a68156cf6c81ad42363647a29.)
Diffstat (limited to 'sysdeps/powerpc')
0 files changed, 0 insertions, 0 deletions