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.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to