summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2010-04-14 11:08:37 -0700
committerAustin Foxley <austinf@cetoncorp.com>2010-04-14 11:08:44 -0700
commite035abf89fbe11a88a26372f1695c768aff7d9e1 (patch)
tree5ea3b4a66e223ede91ad4073bab7081afbfd560e
parent9ed510ad034f9327e7e032d2c6550bfb1f750eb9 (diff)
parent718dcdc32bc831b2c141b020124501515afb9adc (diff)
Merge commit 'origin/master' into nptl
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
-rw-r--r--Makerules19
-rw-r--r--extra/Configs/Config.in12
-rw-r--r--ldso/ldso/ldso.c8
-rw-r--r--test/API/Makefile7
-rw-r--r--test/API/Makefile.in26
-rw-r--r--test/API/aio.SUSv4.syms8
-rw-r--r--test/API/arpa_inet.SUSv4.syms8
-rw-r--r--test/API/complex.SUSv4.syms66
-rw-r--r--test/API/ctype-CX.SUSv4.syms14
-rw-r--r--test/API/ctype-OBXSI.SUSv4.syms2
-rw-r--r--test/API/ctype.SUSv4.syms14
-rw-r--r--test/API/dirent-XSI.SUSv4.syms2
-rw-r--r--test/API/dirent.SUSv4.syms9
-rw-r--r--test/API/dlfcn.SUSv4.syms4
-rw-r--r--test/API/fcntl-ADV.SUSv4.syms2
-rw-r--r--test/API/fcntl.SUSv4.syms4
-rw-r--r--test/API/fenv.SUSv4.syms11
-rw-r--r--test/API/ftw-OB.SUSv4.syms1
-rw-r--r--test/API/ftw.SUSv4.syms1
-rw-r--r--test/API/glob.SUSv4.syms2
-rw-r--r--test/API/grp-XSI.SUSv4.syms1
-rw-r--r--test/API/grp.SUSv4.syms6
-rwxr-xr-xtest/API/html2input.sh119
-rw-r--r--test/API/iconv.SUSv4.syms3
-rw-r--r--test/API/inttypes.SUSv4.syms6
-rw-r--r--test/API/libgen.SUSv4.syms2
-rw-r--r--test/API/locale-CX.SUSv4.syms4
-rw-r--r--test/API/locale.SUSv4.syms2
-rw-r--r--test/API/math-XSI.SUSv4.syms6
-rw-r--r--test/API/math.SUSv4.syms171
-rw-r--r--test/API/monetary.SUSv4.syms2
-rw-r--r--test/API/mqueue.SUSv4.syms10
-rw-r--r--test/API/ndbm.SUSv4.syms9
-rw-r--r--test/API/net_if.SUSv4.syms4
-rw-r--r--test/API/netdb.SUSv4.syms22
-rw-r--r--test/API/nl_types.SUSv4.syms3
-rw-r--r--test/API/pthread-MC1.SUSv4.syms2
-rw-r--r--test/API/pthread-OBXSI.SUSv4.syms2
-rw-r--r--test/API/pthread-RPP|TPP.SUSv4.syms4
-rw-r--r--test/API/pthread-TCT.SUSv4.syms1
-rw-r--r--test/API/pthread-TPS.SUSv4.syms9
-rw-r--r--test/API/pthread-TSATSS.SUSv4.syms2
-rw-r--r--test/API/pthread-TSH.SUSv4.syms8
-rw-r--r--test/API/pthread-TSS.SUSv4.syms2
-rw-r--r--test/API/pthread.SUSv4.syms70
-rw-r--r--test/API/pwd-XSI.SUSv4.syms3
-rw-r--r--test/API/pwd.SUSv4.syms4
-rw-r--r--test/API/regex.SUSv4.syms4
-rw-r--r--test/API/sched-PS.SUSv4.syms4
-rw-r--r--test/API/sched-PS|TPS.SUSv4.syms3
-rw-r--r--test/API/sched.SUSv4.syms1
-rw-r--r--test/API/search.SUSv4.syms11
-rw-r--r--test/API/semaphore.SUSv4.syms10
-rw-r--r--test/API/separate.awk48
-rw-r--r--test/API/setjmp-CX.SUSv4.syms1
-rw-r--r--test/API/setjmp-OBXSI.SUSv4.syms1
-rw-r--r--test/API/setjmp.SUSv4.syms1
-rw-r--r--test/API/signal-CX.SUSv4.syms18
-rw-r--r--test/API/signal-OBXSI.SUSv4.syms6
-rw-r--r--test/API/signal-XSI.SUSv4.syms2
-rw-r--r--test/API/signal.SUSv4.syms2
-rw-r--r--test/API/spawn-PS.SUSv4.syms4
-rw-r--r--test/API/spawn.SUSv4.syms17
-rw-r--r--test/API/stdio-CX.SUSv4.syms20
-rw-r--r--test/API/stdio-OB.SUSv4.syms2
-rw-r--r--test/API/stdio-OBXSI.SUSv4.syms1
-rw-r--r--test/API/stdio.SUSv4.syms44
-rw-r--r--test/API/stdlib-ADV.SUSv4.syms1
-rw-r--r--test/API/stdlib-CX.SUSv4.syms4
-rw-r--r--test/API/stdlib-OBCX.SUSv4.syms1
-rw-r--r--test/API/stdlib-XSI.SUSv4.syms22
-rw-r--r--test/API/stdlib.SUSv4.syms37
-rw-r--r--test/API/string-CX.SUSv4.syms11
-rw-r--r--test/API/string-XSI.SUSv4.syms1
-rw-r--r--test/API/string.SUSv4.syms22
-rw-r--r--test/API/strings-XSI.SUSv4.syms1
-rw-r--r--test/API/strings.SUSv4.syms4
-rw-r--r--test/API/stropts.SUSv4.syms8
-rw-r--r--test/API/sys_mman-ADV.SUSv4.syms1
-rw-r--r--test/API/sys_mman-ML.SUSv4.syms2
-rw-r--r--test/API/sys_mman-MLR.SUSv4.syms2
-rw-r--r--test/API/sys_mman-SHM.SUSv4.syms2
-rw-r--r--test/API/sys_mman-TYM.SUSv4.syms3
-rw-r--r--test/API/sys_mman-XSI|SIO.SUSv4.syms1
-rw-r--r--test/API/sys_mman.SUSv4.syms3
-rw-r--r--test/API/sys_msg.SUSv4.syms4
-rw-r--r--test/API/sys_resource.SUSv4.syms5
-rw-r--r--test/API/sys_select.SUSv4.syms6
-rw-r--r--test/API/sys_sem.SUSv4.syms3
-rw-r--r--test/API/sys_shm.SUSv4.syms4
-rw-r--r--test/API/sys_socket.SUSv4.syms18
-rw-r--r--test/API/sys_stat-XSI.SUSv4.syms2
-rw-r--r--test/API/sys_stat.SUSv4.syms14
-rw-r--r--test/API/sys_statvfs.SUSv4.syms2
-rw-r--r--test/API/sys_time-OB.SUSv4.syms3
-rw-r--r--test/API/sys_time.SUSv4.syms2
-rw-r--r--test/API/sys_uio.SUSv4.syms2
-rw-r--r--test/API/sys_wait.SUSv4.syms3
-rw-r--r--test/API/syslog.SUSv4.syms4
-rw-r--r--test/API/termios.SUSv4.syms11
-rw-r--r--test/API/time-CPT.SUSv4.syms1
-rw-r--r--test/API/time-CX.SUSv4.syms15
-rw-r--r--test/API/time-OB.SUSv4.syms2
-rw-r--r--test/API/time-OBCX.SUSv4.syms2
-rw-r--r--test/API/time-XSI.SUSv4.syms4
-rw-r--r--test/API/time.SUSv4.syms7
-rw-r--r--test/API/trace-TEF.SUSv4.syms8
-rw-r--r--test/API/trace-TRI.SUSv4.syms2
-rw-r--r--test/API/trace-TRL.SUSv4.syms9
-rw-r--r--test/API/trace.SUSv4.syms31
-rw-r--r--test/API/tst-API.sh16
-rw-r--r--test/API/unistd-CX.SUSv4.syms1
-rw-r--r--test/API/unistd-FSC.SUSv4.syms1
-rw-r--r--test/API/unistd-OBXSI.SUSv4.syms1
-rw-r--r--test/API/unistd-SIO.SUSv4.syms1
-rw-r--r--test/API/unistd-XSI.SUSv4.syms9
-rw-r--r--test/API/unistd.SUSv4.syms74
-rw-r--r--test/API/utmpx.SUSv4.syms6
-rw-r--r--test/API/wchar-CX.SUSv4.syms13
-rw-r--r--test/API/wchar-OBXSI.SUSv4.syms15
-rw-r--r--test/API/wchar-XSI.SUSv4.syms2
-rw-r--r--test/API/wchar.SUSv4.syms59
-rw-r--r--test/API/wctype-CX.SUSv4.syms18
-rw-r--r--test/API/wctype.SUSv4.syms18
-rw-r--r--test/API/wordexp.SUSv4.syms2
125 files changed, 1413 insertions, 10 deletions
diff --git a/Makerules b/Makerules
index af95ca0f9..1bc059e29 100644
--- a/Makerules
+++ b/Makerules
@@ -309,20 +309,19 @@ endef
CFLAGS-.os+=$(PICFLAG)
CFLAGS-.oS+=$(PICFLAG) -DSHARED
-$(top_srcdir)%.i: | pregen
$(top_builddir)%.o: $(top_srcdir)%.c FORCE ; $(compile.c)
-$(top_builddir)%.os: $(top_srcdir)%.c FORCE ; $(compile.c)
-$(top_builddir)%.oS: $(top_srcdir)%.c FORCE ; $(compile.c)
+$(top_builddir)%.os: $(top_srcdir)%.c FORCE | pregen; $(compile.c)
+$(top_builddir)%.oS: $(top_srcdir)%.c FORCE | pregen; $(compile.c)
$(top_builddir)%.o: $(top_srcdir)%.S FORCE ; $(compile.S)
-$(top_builddir)%.os: $(top_srcdir)%.S FORCE ; $(compile.S)
-$(top_builddir)%.oS: $(top_srcdir)%.S FORCE ; $(compile.S)
+$(top_builddir)%.os: $(top_srcdir)%.S FORCE | pregen; $(compile.S)
+$(top_builddir)%.oS: $(top_srcdir)%.S FORCE | pregen; $(compile.S)
$(top_builddir)%.o: $(top_srcdir)%.s FORCE ; $(compile.S)
$(top_builddir)%.os: $(top_srcdir)%.s FORCE ; $(compile.S)
-$(top_builddir)%.oS: $(top_srcdir)%.s FORCE ; $(compile.S)
-$(top_builddir)%.i: $(top_srcdir)%.c FORCE ; $(compile.i)
-$(top_builddir)%.i: $(top_srcdir)%.S FORCE ; $(compile.i)
-$(top_builddir)%.s: $(top_srcdir)%.c FORCE ; $(compile.s)
-$(top_builddir)%.s: $(top_srcdir)%.S FORCE ; $(compile.s)
+$(top_builddir)%.oS: $(top_srcdir)%.s FORCE | pregen; $(compile.S)
+$(top_builddir)%.i: $(top_srcdir)%.c FORCE | pregen; $(compile.i)
+$(top_builddir)%.i: $(top_srcdir)%.S FORCE | pregen; $(compile.i)
+$(top_builddir)%.s: $(top_srcdir)%.c FORCE | pregen; $(compile.s)
+$(top_builddir)%.s: $(top_srcdir)%.S FORCE | pregen; $(compile.s)
$(top_builddir)%.dep:
$(top_builddir)lib/interp.c: | $(sub_headers)
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 90094ca6f..21c14acf4 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -300,6 +300,18 @@ config LDSO_CACHE_SUPPORT
After updating this file, it is necessary to run 'ldconfig' to update
the /etc/ld.so.cache shared library loader cache file.
+config LDSO_PRELOAD_ENV_SUPPORT
+ bool "Enable library loader LD_PRELOAD environment"
+ depends on HAVE_SHARED
+ default y
+ help
+ Enable this to make use of LD_PRELOAD environment variable.
+ A whitespace-separated list of additional, user-specified, ELF shared
+ libraries to be loaded before all others. This can be used to
+ selectively override functions in other shared libraries. For
+ set-user-ID/set-group-ID ELF binaries, only libraries in the standard
+ search directories that are also set-user-ID will be loaded.
+
config LDSO_PRELOAD_FILE_SUPPORT