Enhance setting the minimum kernel version glibc will run against.
Ideally, eglibc should also benefit for that, but the current code does not set it.
/trunk/scripts/build/libc/glibc.sh | 38 33 5 0 +++++++++++++++---
/trunk/config/libc/glibc.in | 4 2 2 0 +-
/trunk/config/libc/uClibc.in | 2 2 0 0 +
/trunk/config/libc/eglibc.in | 4 2 2 0 +-
/trunk/config/libc/glibc-eglibc-common.in | 80 68 12 0 +++++++++++++++++++++++++++++++------
/trunk/config/libc.in | 69 38 31 0 ++++++++++++++++++--------------
6 files changed, 145 insertions(+), 52 deletions(-)
1 See http://sources.redhat.com/ml/binutils/2004-06/msg00114.html
3 --- src/bfd/elflink.c.org 2004-07-05 09:11:42.920597000 -0400
4 +++ src/bfd/elflink.c 2004-07-05 09:12:59.240847000 -0400
6 return vdiff > 0 ? 1 : -1;
9 - long sdiff = h1->root.u.def.section - h2->root.u.def.section;
10 + long sdiff = h1->root.u.def.section->id - h2->root.u.def.section->id;
12 return sdiff > 0 ? 1 : -1;
18 - long sdiff = slook - h->root.u.def.section;
19 + long sdiff = slook->id - h->root.u.def.section->id;