diff options
author | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-07-28 20:17:48 (GMT) |
---|---|---|
committer | Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> | 2008-07-28 20:17:48 (GMT) |
commit | 661dd3046d48cef51e2053bc8e8ac8a1fd7fb26f (patch) | |
tree | e96b458b7596eba5be1a292d99738e4a914b68bf /patches/binutils/2.15/730-solaris-qsort.patch | |
parent | 4bf7a197bf8df0203efd94ebdf494d621b0f4481 (diff) |
REname binutils patches to not include 'binutils' nor the version in the patch names.
Diffstat (limited to 'patches/binutils/2.15/730-solaris-qsort.patch')
-rw-r--r-- | patches/binutils/2.15/730-solaris-qsort.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/patches/binutils/2.15/730-solaris-qsort.patch b/patches/binutils/2.15/730-solaris-qsort.patch new file mode 100644 index 0000000..5fe3623 --- /dev/null +++ b/patches/binutils/2.15/730-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) |