summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2016-11-16 22:47:57 +0000
committerJoseph Myers <joseph@codesourcery.com>2016-11-16 22:47:57 +0000
commit85d3192140d1607a3cbf736e28fea2ed60a4413a (patch)
treed8a118b89f94d42028f0f8f748dbba2650d4277d /sysdeps
parent61158ffa9a17476d88aaf4a833d13b12f1c51387 (diff)
downloadglibc-85d3192140d1607a3cbf736e28fea2ed60a4413a.tar.gz
glibc-85d3192140d1607a3cbf736e28fea2ed60a4413a.tar.xz
glibc-85d3192140d1607a3cbf736e28fea2ed60a4413a.zip
Enable linknamespace testing for libdl and libcrypt.
When I set up linknamespace testing, the lists of libraries that might
contain functions from various standards were based on the -l options
POSIX says may be required to find certain functions with the c99
utility.

glibc has some POSIX functions in the libdl and libcrypt libraries,
not mentioned in the definition of the c99 utility (so an
implementation of that utility using glibc would need to use -ldl
-lcrypt automatically).  This patch adds those libraries to the ones
considered in linknamespace testing for relevant standards.  (The
crypt functions are XSI only, present in XPG3 and above; the libdl
ones were added in UNIX98, then moved from XSI to BASE in the 2008
edition of POSIX.)

	* conform/Makefile (linknamespace-libs): Rename to
	linknamespace-libs-thr.
	(linknamespace-libs-posix): New variable.
	(linknamespace-libs-xsi): Likewise.
	(linknamespace-libs-XPG3): Include libcrypt.a.
	(linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
	(linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
	(linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
	(linknamespace-libs-XOPEN2K): Likewise.
	(linknamespace-libs-XOPEN2K8): Likewise.
	(linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
Diffstat (limited to 'sysdeps')
0 files changed, 0 insertions, 0 deletions