Re: [PATCH 4/4] Makefile: lld: set -O2 linker flag when linking with LLD

2019-02-07 Thread Nathan Chancellor
On Thu, Feb 07, 2019 at 02:01:52PM -0800, ndesaulni...@google.com wrote: > -O2 enables tail merging of string table strings. > > For arm64: > 0.34% size improvement with lld -O2 over lld for vmlinux. > 3.30% size improvement with lld -O2 over lld for Image.lz4-dtb. > > Link:

[PATCH 4/4] Makefile: lld: set -O2 linker flag when linking with LLD

2019-02-07 Thread ndesaulniers
-O2 enables tail merging of string table strings. For arm64: 0.34% size improvement with lld -O2 over lld for vmlinux. 3.30% size improvement with lld -O2 over lld for Image.lz4-dtb. Link: https://github.com/ClangBuiltLinux/linux/issues/343 Suggested-by: Rui Ueyama Suggested-by: Nathan