bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20828] [MIPS] produces invalid dynamic symbol table when --gc-se


From: james410 at cowgill dot org.uk
Subject: [Bug ld/20828] [MIPS] produces invalid dynamic symbol table when --gc-sections is used since PR ld/13177 fix
Date: Fri, 18 Nov 2016 23:46:22 +0000

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.


reply via email to

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