glibc/include
H.J. Lu 825adeeed1 Mark __dso_handle as hidden [BZ #18822]
Since __dso_handle is always defined by either crtbegin.o from GCC or
dso_handle.c, it should be marked as hidden and be passed directly.

	[BZ #18822]
	* dlfcn/modatexit.c (foo): Remove __dso_handle check.
	* dlfcn/modcxaatexit.c: Include <dso_handle.h>.
	(__dso_handle): Remove declaration.
	* dlfcn/tstatexit.c (__dso_handle): Removed.
	(main): Don't check __dso_handle.
	* dlfcn/tstcxaatexit.c (__dso_handle): Removed.
	(main): Don't check __dso_handle.
	* include/dso_handle.h: New file.
	* malloc/mtrace.c: Include <dso_handle.h>.
	(mtrace): Pass __dso_handle directly.
	* nptl/pthread_atfork.c: Include <dso_handle.h>.
	(__dso_handle): Remove declaration.
	(__pthread_atfork): Pass __dso_handle directly.
	* nptl/tst-atfork2mod.c: Include <dso_handle.h>.
	(__dso_handle): Removed.
	* posix/wordexp-test.c: Include <dso_handle.h>.
	(__dso_handle): Remove declaration.
	(__app_register_atfork): Pass __dso_handle directly.
	* stdlib/at_quick_exit.c: Include <dso_handle.h>.
	(__dso_handle): Remove declaration.
	(at_quick_exit): Pass __dso_handle directly.
	* stdlib/atexit.c: Include <dso_handle.h>.
	(__dso_handle): Remove declaration.
	(atexit): Pass __dso_handle directly.
	* stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
	(__dso_handle): Removed.
2017-09-26 16:53:44 -07:00
..
arpa
bits Fix sigval namespace (bug 21944). 2017-08-16 20:33:59 +00:00
gnu
net
netinet
programs
protocols
rpc sunrpc: Remove internal_function attribute 2017-08-31 15:59:02 +02:00
rpcsvc
sys Hide __chmod and __mkdir [BZ #18822] 2017-09-04 13:38:51 -07:00
aio.h
aliases.h
alloc_buffer.h Implement allocation buffers for internal use 2017-06-21 22:43:57 +02:00
alloca.h
argp.h
argz.h Mark internal argz functions with attribute_hidden [BZ #18822] 2017-08-18 09:31:33 -07:00
assert.h
atomic.h
byteswap.h
caller.h
complex.h
cpio.h
crypt.h
ctype.h
des.h
dirent.h dirent: Remove internal_function attribute 2017-08-31 16:02:40 +02:00
dlfcn.h dlfcn: Remove internal_function attribute 2017-08-31 16:12:03 +02:00
dso_handle.h Mark __dso_handle as hidden [BZ #18822] 2017-09-26 16:53:44 -07:00
elf.h
endian.h
envz.h
err.h
errno.h
error.h
execinfo.h
fcntl.h Consolidate remaning non cancellable definitions 2017-08-23 10:47:03 -03:00
features.h Update for 2.26 release 2017-08-02 18:27:16 +05:30
fenv.h
float.h Include libc-header-start.h in include/float.h 2017-06-23 10:30:04 -03:00
fmtmsg.h
fnmatch.h
fpu_control.h
ftw.h
gconv.h
getopt.h
getopt_int.h
glob.h
gmp.h
gnu-versions.h posix: Add compat glob symbol to not follow dangling symbols 2017-09-25 18:04:16 -07:00
grp-merge.h
grp.h
gshadow.h
iconv.h
ifaddrs.h
ifunc-impl-list.h
inline-hashtab.h
langinfo.h
libc-diag.h
libc-internal.h Mark __libc_multiple_libcs with attribute_hidden [BZ #18822] 2017-08-21 05:32:39 -07:00
libc-pointer-arith.h
libc-symbols.h libc-symbols.h: Remove definition of internal_function 2017-08-31 18:52:00 +02:00
libgen.h
libintl.h
libio.h
limits.h
link.h
list.h
list_t.h
locale.h
malloc.h
math.h Make more libm functions into weak aliases. 2017-09-14 22:28:53 +00:00
mcheck.h
memory.h
mntent.h
monetary.h Use locale_t, not __locale_t, throughout glibc 2017-06-20 20:30:06 -04:00
mqueue.h
netdb.h
netgroup.h
nl_types.h
nss.h NSS: Remove internal_function function attribute 2017-08-31 15:59:06 +02:00
nsswitch.h
obstack.h
poll.h
printf.h Hide internal printf functions [BZ #18822/21986] 2017-08-22 07:50:57 -07:00
pthread.h
pty.h
pwd.h
regex.h
resolv.h resolv: Introduce struct resolv_context [BZ #21668] 2017-07-03 20:52:59 +02:00
rounding-mode.h
sched.h Clean pthread functions namespaces for C11 threads 2017-06-23 17:38:17 -03:00
scratch_buffer.h scratch_buffer: use union for internal buffer 2017-09-25 18:04:22 -07:00
search.h
set-hooks.h
setjmp.h Move ____longjmp_chk prototype to include/setjmp.h 2017-08-20 06:30:46 -07:00
sgtty.h
shadow.h
shlib-compat.h Fix tests that are testing obsoleted functionality 2017-09-05 12:24:00 -07:00
signal.h Consolidate remaning non cancellable definitions 2017-08-23 10:47:03 -03:00
spawn.h
stab.h
stackinfo.h
stap-probe.h
stdc-predef.h Bug 21533: Update to Unicode 10.0.0 2017-06-22 17:02:55 +02:00
stdio.h linux: Implement tmpfile with O_TMPFILE (BZ#21530) 2017-09-01 09:52:47 -03:00
stdio_ext.h
stdlib.h Remove internal_function attribute from string-to-float functions 2017-08-13 21:11:47 +02:00
string.h
strings.h
stropts.h
stubs-prologue.h
syscall.h
sysexits.h
syslog.h
tar.h
termios.h Clean pthread functions namespaces for C11 threads 2017-06-23 17:38:17 -03:00
tgmath.h
time.h time: Remove the internal_function attribute 2017-08-31 15:59:07 +02:00
ttyent.h
uchar.h
ucontext.h
ulimit.h
unistd.h Consolidate non cancellable pause call 2017-08-22 14:25:03 -03:00
utime.h
utmp.h
values.h
wchar.h Use locale_t, not __locale_t, throughout glibc 2017-06-20 20:30:06 -04:00
wctype.h
wordexp.h