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

--- Comment #2 from James Cowgill <james410 at cowgill dot org.uk> ---
Created attachment 9649
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9649&action=edit
patch attempt 1

So I had a go at fixing this. The patch basically does an extra pass to assign
indexes to all the forced_local symbols first and the original code handles the
rest of the symbols. It fixes my testcase and the original mesa bug in Debian.

As I'm not too familiar with the internals of binutils, I'm not totally sure
this is right. Is checking forced_local enough?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to