bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/19421] [2.26 Regression] Missing weak symbols in kernel mo


From: amodra at gmail dot com
Subject: [Bug binutils/19421] [2.26 Regression] Missing weak symbols in kernel modules on powerpc64le-linux-gnu
Date: Wed, 13 Jan 2016 00:23:26 +0000

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

--- Comment #5 from Alan Modra <amodra at gmail dot com> ---
Created attachment 8897
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8897&action=edit
kernel fix

So the reason that CONFIG_RELOCATABLE (which is forced on by CONFIG_CRASH_DUMP)
avoids the problem is that with relocatable output there is a relocation on
"__crc_TOC." which results in the symbol being kept with newer binutils. 
genksyms ought to be providing a value for "__crc_TOC." but it doesn't, which I
think makes this a kernel bug.  Attached patch cures the problem.

-- 
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]