bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/18867] ld reloc sorting causes glibc to crash on alpha


From: amodra at gmail dot com
Subject: [Bug ld/18867] ld reloc sorting causes glibc to crash on alpha
Date: Wed, 26 Aug 2015 01:50:27 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18867

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Alan Modra <amodra at gmail dot com> ---
I see from the alpha backend binutils code that some relocs are expected in
certain order.  That means I can't use qsort, which is unstable.

Argh!  In fact, even on powerpc we have marker relocs at the same r_offset as
other relocs, eg. on __tls_get_addr calls, and they're expected in a certain
order or TLS optimisation will be disabled.

I need to change that qsort to a stable sort.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]