[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110117.163709.15244083.davem@davemloft.net>
Date: Mon, 17 Jan 2011 16:37:09 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: richm@...elvet.org.uk
Cc: 609371@...s.debian.org, ben@...adent.org.uk,
sparclinux@...r.kernel.org, linux-kernel@...r.kernel.org,
rostedt@...dmis.org, fweisbec@...il.com, mingo@...hat.com,
Jesper.Nilsson@...s.com, jeffm@...e.com
Subject: Re: R_SPARC_13
From: Richard Mortimer <richm@...elvet.org.uk>
Date: Mon, 17 Jan 2011 23:34:03 +0000
> I guess that points towards the binutils linker not doing the correct
> thing.
Ok, it is in fact doing the correct thing.
I'm really surprised we never hit this before in all of these years
:-) I guess we've simply never hit this kind of expression in a module
before.
The issue is that modules aren't a "final link", it's really more like
an intermediate partial link.
So we do end up seeing the R_SPARC_LO10 + R_SPARC_13 sequences in the
final module object.
Therefore, we really should handle R_SPARC_13 in the sparc module loader.
Richard, I want you to get full credit for this since you did all of
the dirty work :-) Would you please cons up a formal patch with commit
message and signoff for this and I'll push it around?
Thanks a lot!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists