Subject: Re: [PATCH 2/5] kbuild: allow archs to select build for link dead code/data elimination

From: Andreas Schwab <[email-masked]>
Date: Sun, 07 Aug 2016 13:35:04 +0200

On So, Aug 07 2016, Alan Modra <[email-masked]> wrote:

> At the risk of being told you (kernel people) have already considerd
> this I thought I should mention that the above isn't ideal.  (Nor is
> gcc's choice of .text.hot for hot sections, which clashes with
> --function-sections for a function called "hot" but that's another
> story.)

Or --function-sections should use a unique prefix, like
.text.functions.*

Andreas.

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."