Hi,

Julian Taylor:
> this is already the case with regular static linking, you don't need LTO
> to remove unused code, the compiler only uses those objects from that
> archive that are required to resolve all symbols.
> 
… remove _some_ unused code. Lots of code the linker pulls in from gcc will
never be called. For instance, it doesn't _know_ that none of your printf
statements contain '%f', so it adds the heap of code required to print
floats regardless.

-- 
-- Matthias Urlichs


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20141007151707.gc3...@smurf.noris.de

Reply via email to