Re: [PATCH] objtool: replace _ASM_PTR with quad in macros

2022-08-23 Thread Christophe Leroy
Le 23/08/2022 à 15:31, Chen Zhongjin a écrit : > Macros STACK_FRAME_NON_STANDARD and ANNOTATE_NOENDBR uses > _ASM_PTR. It switch between .long and .quad based on 32bit > or 64bit. However objtool doesn't work for 32bit, so _ASM_PTR > makes no sense. > > Considering that _ASM_PTR comes from asm.h

[PATCH] objtool: replace _ASM_PTR with quad in macros

2022-08-23 Thread Chen Zhongjin
Macros STACK_FRAME_NON_STANDARD and ANNOTATE_NOENDBR uses _ASM_PTR. It switch between .long and .quad based on 32bit or 64bit. However objtool doesn't work for 32bit, so _ASM_PTR makes no sense. Considering that _ASM_PTR comes from asm.h, which is x86 specific head file, while objtool.h is generic