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 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
check-execstack.awk Do check-execstack test using readelf rather than a build-time C program. 2012-05-01 13:27:52 -07:00
check-local-headers.sh Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
check-localplt.awk Add flexibility to localplt-*.data files, using an awk script rather than diff to check the results. 2012-04-24 14:48:15 -07:00
check-textrel.awk Do check-textrel test using readelf rather than a build-time C program. 2012-05-01 13:27:11 -07:00
config-uname.sh Rejigger header generation for default uname implementation. 2010-08-24 11:56:52 -07:00
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 Fix bug in firstversions.awk version range handling. 2012-01-28 12:02:44 -05:00
gen-as-const.awk Fix 64-bit platform handling in test cases for generated headers with constants. 2009-08-16 00:39:43 -07:00
gen-libc-abis Missing files for libc ABI handling. 2010-03-16 04:47:33 -07:00
gen-libc-modules.awk Auto-generate libc-modules.h 2014-11-19 12:16:00 +05:30
gen-sorted.awk Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
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 Generate overall summary of test results. 2014-03-07 03:25:57 +00:00
mkinstalldirs Update miscellaneous scripts from upstream. 2013-06-06 19:02:09 +00:00
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 Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
rpm2dynsym.sh
soversions.awk Remove bitrotten --enable-oldest-abi (bug 6652). 2014-09-16 17:45:03 +00:00
sysd-rules.awk Sort sysd-rules-patterns by descending pattern length. 2013-06-17 09:55:49 -07:00
test-installation.pl Update remaining copyright dates 2014-01-01 22:02:55 +10:00
update-copyrights scripts/update-copyrights: adjust configure input file suffix 2014-01-01 22:10:54 +10:00
versionlist.awk Kludge fix for Versions.def regression 2014-03-25 15:00:34 -07:00
versions.awk Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00