This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: linker crash in arm stub generation


On 12.06.2009 16:06, Daniel Jacobowitz wrote:
On Fri, Jun 12, 2009 at 03:19:21PM +0200, Christophe LYON wrote:
I think your patch is not adequate: it will prevent the stub code from being generated, but the user code will still jump to the stub. So the link won't fail, but the result will be wrong.

Instead, I propose this patch, which prevents mode-switching stub generation when the call goes through a PLT entry.

I think there should already be a test for this in the testsuite, I have probably forgotten this configuration.

This looks good to me - and I agree that a test would be helpful!


I'll propose one + proper ChangeLog entry next week.

Christophe.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]