ld: Change the name of input section .mmu_data to mmu_tables
The arch/x86/CMakeLists.txt build scripts names five sections that are generated from .bin files. Two of them are named the same as the .bin file, and the other three are named inconsistently. To be consistent, we will rename the three that are named inconistenly to align with the two that are named as the .bin file. Being consistent simplifies the system and fosters code-reuse. This patch renames mmu_tables. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no>
This commit is contained in:
parent
63df409906
commit
d5ea49bcbd
|
@ -174,7 +174,7 @@ if(CONFIG_X86_MMU)
|
|||
-I binary
|
||||
-B ${OUTPUT_ARCH}
|
||||
-O ${OUTPUT_FORMAT}
|
||||
--rename-section .data=.mmu_data
|
||||
--rename-section .data=mmu_tables
|
||||
mmu_tables.bin
|
||||
mmu_tables.o
|
||||
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
|
||||
|
|
|
@ -378,7 +378,7 @@ SECTIONS
|
|||
MMU_PAGE_ALIGN
|
||||
__mmu_tables_start = .;
|
||||
z_x86_kernel_pdpt = .;
|
||||
KEEP(*(.mmu_data));
|
||||
KEEP(*(mmu_tables));
|
||||
#ifdef CONFIG_X86_KPTI
|
||||
z_x86_user_pdpt = .;
|
||||
KEEP(*(.user_mmu_data));
|
||||
|
|
Loading…
Reference in a new issue