diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-10-01 14:36:03 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-12-15 11:03:33 +0530 |
commit | 41868acc3a55bad110e79a7a40c030b39c5480bb (patch) | |
tree | 9153591b1d908064b0533a33abb65bad7f99f3f3 /math | |
parent | 67cf3c6ed0b1119bbddc1c6f46af486fc1ad2432 (diff) | |
download | glibc-siddhesh/posix-wundef.tar glibc-siddhesh/posix-wundef.tar.gz glibc-siddhesh/posix-wundef.tar.bz2 glibc-siddhesh/posix-wundef.zip |
Use conf.list to generate spec arraysiddhesh/posix-wundef
This patch adds support to generate the spec array in getconf from the
conf.list. The generated code is mostly unchanged. the only changes
are due to the change in layout of the spec and val arrays in the ELF.
The val array can also be auto-generated from conf.list once the
remaining macros are added to it.
* posix/conf.list (SPEC:XBS5): Add sysconf prefix.
* posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
* posix/posix-envs.def: Likewise.
* sysdeps/posix/sysconf.c: Likewise.
* posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
(specs): Remove array.
* scripts/gen-conf.awk: Support generation of specs array.
Diffstat (limited to 'math')
0 files changed, 0 insertions, 0 deletions