[PATCH] arm64: split elf relocs into a separate header.

Will Deacon will.deacon at arm.com
Fri Jan 8 07:59:32 PST 2016


On Fri, Jan 08, 2016 at 12:41:49PM +0000, Mark Rutland wrote:
> Currently asm/elf.h contains a mixture of simple constants, C structure
> definitions, and some constants defined terms of constants from other
> headers (which are themselves mixtures).
> 
> To enable the use of AArch64 ELF reloc constants from assembly code (s
> we will need for relocatable kernel support), we need an include without
> C structure definitions or incldues of other files with such
> definitions.
> 
> This patch factors out the relocs into a new header specifically for ELF
> reloc types.

Does #ifdef __ASSEMBLY__ not do the trick?

Will



More information about the linux-arm-kernel mailing list