Re: [GIT PULL] x86 LTO changes for v3.15

From: Linus Torvalds
Date: Mon Mar 31 2014 - 22:26:38 EST


On Mon, Mar 31, 2014 at 6:09 PM, Andi Kleen <ak@xxxxxxxxxxxxxxx> wrote:
>
> I think SYSCALL_DEFINE actually doesn't need it, as the syscall
> tables are visible in C. Only the syscall table itself
> needs to be visible.

Ahh, good point. The table used to be in asm for x86-32, but that got
fixed long ago so I guess that just isn't an issue any more.

>> and after that I strongly suspect that there will be only a handful of
>> cases left that are called from assembly language and that aren't
>> system calls. Things like "printk()" and friends that are really
>> special. They'd need a few manual "__visible" annotations.
>
> Ok. I think it's more than a handful though.

I guess an allmodconfig build with the LTO binutils should just
generate linker errors for all of them, so they should be easy to
find, though?

Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/