bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/19252] ld rewrites instructions even when asked not to, in x86-6


From: srk31 at srcf dot ucam.org
Subject: [Bug ld/19252] ld rewrites instructions even when asked not to, in x86-64
Date: Mon, 16 Nov 2015 23:01:29 +0000

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

--- Comment #2 from Stephen Kell <srk31 at srcf dot ucam.org> ---
Thanks for the link. No, I'm not aware of any bug where this changes the
program behaviour.

Nevertheless, if I don't ask the linker to optimise, I don't think it should.
Or, at least, I should be able to ask it not to.

Currently the ld manual says that it won't optimise unless passed -On for n
greater than zero. It also strongly implies that it won't alter instruction
selection unless passed --relax.

In any case, the ABI supplement is not a substitute for linker documentation.
It might be a start to incorporate the relevant sections of the ABI supplement
into a "Machine Dependent" chapter in the ld manual.

I might get time, before very long, to write a patch that conditionally
disables the optimisation. Please let me know if you think you would apply it.

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