glibc/scripts
Siddhesh Poyarekar 130ac68ca2 Auto-generate libc-modules.h
Remove libc-modules.h from the tree and auto-generate it from
soversions.i and the list of modules in the built-modules variable
defined in Makeconfig.  Macros generated have increasing numbered
values, with built-modules having lower values starting from 1,
following which a separator value LIBS_BEGIN is added and then finally
the library names from soversions.i are appended to the list.  This
allows us to conveniently differentiate between the versioned
libraries and other built modules, which is needed in errno.h and
netdb.h to decide whether to use an internal symbol or an external
one.

Verified that generated code remains unchanged on x86_64.

	* Makeconfig (built-modules): List non-library modules to be
	built.
	(module-cppflags): Include libc-modules.h for
	everything except shlib-versions.v.i.
	(CPPFLAGS): Use it.
	(before-compile): Add libc-modules.h.
	($(common-objpfx)libc-modules.h,
	$(common-objpfx)libc-modules.stmp): New targets.
	(common-generated): Add libc-modules.h and libc-modules.stmp.
	($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
	* include/libc-symbols.h: Don't include libc-modules.h.
	* include/libc-modules.h: Remove file.
	* scripts/gen-libc-modules.awk: New script to generate
	libc-modules.h.
	* sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
	Depend on libc-modules.stmp.
2014-11-19 12:16:00 +05:30
..
abi-versions.awk Remove bitrotten --enable-oldest-abi (bug 6652). 2014-09-16 17:45:03 +00:00
abilist.awk Work around binutils bugs in 2.23 and older 2014-03-18 22:04:04 +05:30
begin-end-check.pl
check-c++-types.sh
check-execstack.awk
check-local-headers.sh
check-localplt.awk
check-textrel.awk
config-uname.sh
config.guess Update miscellaneous files from upstream sources. 2014-06-26 20:13:44 +00:00
config.sub Update miscellaneous files from upstream sources. 2014-06-26 20:13:44 +00:00
cpp
cross-test-ssh.sh Pass $TIMEOUTFACTOR to tests also in cross testing 2014-06-16 21:47:25 +02:00
documented.sh
evaluate-test.sh Do not terminate default test runs on test failure. 2014-03-14 21:02:40 +00:00
firstversions.awk
gen-as-const.awk
gen-libc-abis
gen-libc-modules.awk Auto-generate libc-modules.h 2014-11-19 12:16:00 +05:30
gen-sorted.awk
install-sh Update miscellaneous files from upstream sources. 2014-06-26 20:13:44 +00:00
lib-names.awk Clean up gnu/lib-names.h generation (bug 14171). 2014-09-26 17:33:04 +00:00
list-sources.sh Update scripts/list-sources.sh for ports repository merge. 2014-06-26 21:30:07 +00:00
localplt.awk Fix localplt check for GNU_IFUNC 2014-03-25 14:15:35 -05:00
merge-test-results.sh
mkinstalldirs
move-if-change Update miscellaneous files from upstream sources. 2014-06-26 20:13:44 +00:00
output-format.sed
pylint Implement benchmarking script in python 2014-03-21 17:32:50 +05:30
pylintrc Implement benchmarking script in python 2014-03-21 17:32:50 +05:30
rellns-sh
rpm2dynsym.sh
soversions.awk Remove bitrotten --enable-oldest-abi (bug 6652). 2014-09-16 17:45:03 +00:00
sysd-rules.awk
test-installation.pl
update-copyrights
versionlist.awk Kludge fix for Versions.def regression 2014-03-25 15:00:34 -07:00
versions.awk