Thread (25 messages) 25 messages, 5 authors, 2022-06-17

Re: [RFC PATCH 4/4] objtool/powerpc: Add --mcount specific implementation

From: Peter Zijlstra <peterz@infradead.org>
Date: 2022-06-16 13:59:16
Also in: lkml

On Thu, Jun 16, 2022 at 01:40:34PM +0000, Christophe Leroy wrote:
sizeof(u64) is always 8 by definition.

So if size is 8 we are working on a binary file for a 64 bits target, if 
not it means we are working for a 32 bits target.
Cross-builds invalidate this I think. Best to look at something like:

  elf->ehdr.e_ident[EI_CLASS] == ELFCLASS32

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help