diff options
author | Ard Biesheuvel <[email protected]> | 2016-02-17 12:35:58 +0000 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2016-02-22 08:26:26 +0100 |
commit | 1ce99bf45306ba889faadced6baabebf7770c546 (patch) | |
tree | 2b88796ad3dd71167266dbb85468e0e93d5de00f /tools/perf/scripts/python | |
parent | dae31fd2b74c35cc84128733bc210bf6b26ae408 (diff) |
arm64/vmlinux.lds.S: Handle .init.rodata.xxx and .init.bss sections
The EFI stub is typically built into the decompressor (x86, ARM) so none
of its symbols are annotated as __init. However, on arm64, the stub is
linked into the kernel proper, and the code is __init annotated at the
section level by prepending all names of SHF_ALLOC sections with '.init'.
This results in section names like .init.rodata.str1.8 (for string literals)
and .init.bss (which is tiny), both of which can be moved into the .init.data
output section.
Tested-by: Mark Rutland <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Matt Fleming <[email protected]>
Acked-by: Will Deacon <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions