glibc/sysdeps/alpha
Joseph Myers 4243cbea6d Don't use INTDEF/INTUSE with _dl_argv (bug 14132).
Continuing the removal of the obsolete INTDEF / INTUSE mechanism, this
patch replaces its use for _dl_argv with rtld_hidden_data_def and
rtld_hidden_proto.  Some places in .S files that previously used
_dl_argv_internal or INTUSE(_dl_argv) now use __GI__dl_argv directly
(there are plenty of existing examples of such direct use of __GI_*).

A single place in rtld.c previously used _dl_argv without INTUSE,
apparently accidentally, while the rtld_hidden_proto mechanism avoids
such accidential omissions.  As a consequence, this patch *does*
change the contents of stripped ld.so.  However, the installed
stripped shared libraries are identical to those you get if instead of
this patch you change that single _dl_argv use to use INTUSE, without
any other changes.

Tested for x86_64 (testsuite as well as comparison of installed
stripped shared libraries as described above).

	[BZ #14132]
	* sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
	[IS_IN_rtld] (_dl_argv_internal): Do not declare.
	(rtld_progname): Make macro definition unconditional.
	* elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
	INTDEF.
	(dlmopen_doit): Do not use INTUSE with _dl_argv.
	(dl_main): Likewise.
	* elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
	* sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
	instead of _dl_argv_internal.
	* sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
	__GI__dl_argv instead of INTUSE(_dl_argv).
	* sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
	__GI__dl_argv instead of _dl_argv_internal.
2014-11-04 17:39:39 +00:00
..
alphaev5 Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
alphaev6 Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
alphaev67 Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
bits Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
fpu Add missing #include in sysdeps/alpha/fpu/s_nearbyint.c 2014-07-03 21:15:56 -07:00
nptl Alpha: Define TLS_DEFINE_INIT_TP 2014-06-11 12:23:35 -07:00
soft-fp soft-fp: Refactor exception handling for comparisons. 2014-10-09 01:03:56 +00:00
__longjmp.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
_mcount.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
add_n.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
addmul_1.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
backtrace.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
bb_init_func.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
bsd-_setjmp.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
bsd-setjmp.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
bzero.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
configure Require autoconf 2.69 2014-09-29 07:53:36 -07:00
configure.ac Require autoconf 2.69 2014-09-29 07:53:36 -07:00
crti.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
crtn.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
div_libc.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
div.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
divl.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
divlu.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
divq.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
divqu.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
dl-dtprocnum.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
dl-machine.h Don't use INTDEF/INTUSE with _dl_argv (bug 14132). 2014-11-04 17:39:39 +00:00
dl-procinfo.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
dl-procinfo.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
dl-sysdep.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
dl-tls.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
dl-trampoline.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
ffs.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
ffsll.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
gccframe.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
hp-timing.h Unify hp-timing implementations 2014-07-03 08:38:30 -07:00
htonl.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
htons.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
Implies Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
jmpbuf-offsets.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
jmpbuf-unwind.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
ldiv.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
ldsodefs.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
libc-tls.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
lldiv.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
lshift.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
machine-gmon.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
Makefile alpha: Enable unwind tables for backtrace.c 2014-04-16 21:35:29 -07:00
memchr.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
memset.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
memusage.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
mul_1.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
nscd-types.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
preconfigure Remove relro configure test. 2014-06-27 16:51:22 +00:00
rawmemchr.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
reml.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
remlu.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
remq.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
remqu.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
rshift.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
setjmp.S Remove unnecessary uses of NOT_IN_libc 2014-08-21 10:26:46 +05:30
sotruss-lib.c Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
stackinfo.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
start.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
stpcpy.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
stpncpy.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
strcat.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
strchr.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
strcmp.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
strcpy.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
strlen.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
strncat.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
strncmp.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
strncpy.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
strrchr.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
stxcpy.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
stxncpy.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
sub_n.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
Subdirs Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
submul_1.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
tininess.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
tls-macros.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
tst-audit.h Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
udiv_qrnnd.S Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00
Versions Relocate alpha from ports to libc 2014-02-12 07:00:06 -08:00