From b1e693e40281dc8c451e8892dfcdf55d78a4ade3 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 23 Sep 2007 17:08:09 +0000 Subject: Renamed all patches file names so that locales are now irrelevant to sort the files. Removed the locale check as it is now irrelevant. Removed the experimental binutils 2.17.50.0.xx: 2.18 is here now. --- .../2.15/730-binutils-2.15-solaris-qsort.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 patches/binutils/2.15/730-binutils-2.15-solaris-qsort.patch (limited to 'patches/binutils/2.15/730-binutils-2.15-solaris-qsort.patch') diff --git a/patches/binutils/2.15/730-binutils-2.15-solaris-qsort.patch b/patches/binutils/2.15/730-binutils-2.15-solaris-qsort.patch new file mode 100644 index 00000000..5fe36231 --- /dev/null +++ b/patches/binutils/2.15/730-binutils-2.15-solaris-qsort.patch @@ -0,0 +1,22 @@ +See http://sources.redhat.com/ml/binutils/2004-06/msg00114.html + +--- src/bfd/elflink.c.org 2004-07-05 09:11:42.920597000 -0400 ++++ src/bfd/elflink.c 2004-07-05 09:12:59.240847000 -0400 +@@ -2700,7 +2700,7 @@ + return vdiff > 0 ? 1 : -1; + else + { +- long sdiff = h1->root.u.def.section - h2->root.u.def.section; ++ long sdiff = h1->root.u.def.section->id - h2->root.u.def.section->id; + if (sdiff != 0) + return sdiff > 0 ? 1 : -1; + } +@@ -3954,7 +3954,7 @@ + i = idx + 1; + else + { +- long sdiff = slook - h->root.u.def.section; ++ long sdiff = slook->id - h->root.u.def.section->id; + if (sdiff < 0) + j = idx; + else if (sdiff > 0) -- cgit v1.2.3