Search
j0ke.net Open Build Service
>
Projects
>
devel
>
binutils
> addend-compare.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File addend-compare.diff of Package binutils
2006-10-16 Andreas Schwab <schwab@suse.de> * elfxx-ia64.c (addend_compare): Properly compute return value. --- bfd/elfxx-ia64.c.~1.190.~ 2006-09-18 10:58:08.000000000 +0200 +++ bfd/elfxx-ia64.c 2006-10-16 19:15:32.000000000 +0200 @@ -2209,7 +2209,7 @@ addend_compare (const void *xp, const vo const struct elfNN_ia64_dyn_sym_info *y = (const struct elfNN_ia64_dyn_sym_info *) yp; - return x->addend - y->addend; + return x->addend < y->addend ? -1 : x->addend > y->addend ? 1 : 0; } /* Sort elfNN_ia64_dyn_sym_info array and remove duplicates. */