mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[PATCH] i386: Clean up ELF note generation
Three cleanups: 1: ELF notes are never mapped, so there's no need to have any access flags in their phdr. 2: When generating them from asm, tell the assembler to use a SHT_NOTE section type. There doesn't seem to be a way to do this from C. 3: Use ANSI rather than traditional cpp behaviour to stringify the macro argument. Signed-off-by: Jeremy Fitzhardinge <[email protected]> Signed-off-by: Andi Kleen <[email protected]> Cc: Eric W. Biederman <[email protected]>
This commit is contained in:
parent
21564fd2a3
commit
03df4f6ee9
3 changed files with 4 additions and 4 deletions
|
|
@ -208,7 +208,7 @@
|
|||
}
|
||||
|
||||
#define NOTES \
|
||||
.notes : { *(.note.*) } :note
|
||||
.notes : { *(.note.*) } :note
|
||||
|
||||
#define INITCALLS \
|
||||
*(.initcall0.init) \
|
||||
|
|
|
|||
Loading…
Reference in a new issue