bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20244] ld fails to handle "op $imm, address@hidden"


From: hjl.tools at gmail dot com
Subject: [Bug ld/20244] ld fails to handle "op $imm, address@hidden"
Date: Tue, 14 Feb 2017 23:02:49 +0000

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

--- Comment #12 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Dopıng from comment #11)
> (In reply to H.J. Lu from comment #10)
> > > What I don’t get is why the older GNU ld seems to link these objects files
> > > into a shared library just fine. If that’s the case, the older ld must 
> > > have
> > > a way to properly deal with these assembly instructions, right?
> > 
> > The old linker will silently generate broken output.
> Hmm. Broken as in ”will probably cause a SIGSEGV or SIGBUS“, or less broken?
> 😉
> I’m wondering why nobody noticed this problem before. Is it possible that
> the problematic instructions belong to dead code, e.g. are part of a
> function that’s (almost) never called, part of a (faulty) generated
> exception handler, ...? Or did you find these instructions all over the
> place in the Oracle object files?

I don't think that piece of code is executed.

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