Re: [PATCH] objtool: Fix GCC 8 cold function processing without -freorder-functions
From: Peter Zijlstra
Date: Tue Jun 26 2018 - 12:43:51 EST
On Tue, Jun 26, 2018 at 05:20:45PM +0100, Allan Xavier wrote:
> 0000000000000500 g F .text 0000000000000034 nmi_panic
> 0000000000000528 l F .text 000000000000000c nmi_panic.cold.7
>
> This doesn't happen with -freorder-functions in the first example as the
> symbols don't overlap.
Urgh and I don't suppose we can 'fix' the overlap in read_symbols() ?