Workaround for "PowerPC-8xx CPU15 errata" (whatever that might be).
Patch by Nye LIU: http://sourceware.org/ml/crossgcc/2009-05/msg00014.html
-------- diffstat follows --------
/trunk/patches/eglibc/2_9/100-powerpc-8xx-CPU15-errata.patch | 49 49 0 0 ++++++++++++++++++
/trunk/scripts/build/libc/eglibc.sh | 10 9 1 0 +++-
2 files changed, 58 insertions(+), 1 deletion(-)
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;