Commit 2ea7ae62 authored by Evan Lojewski's avatar Evan Lojewski
Browse files

bootrom: revup to latest code adding reserved stack space.

Pipeline #239 passed with stage
in 18 seconds
......@@ -98,6 +98,7 @@ ppc64le_add_executable(${PROJECT_NAME}
)
ppc64le_linker_script(${PROJECT_NAME} "${CMAKE_CURRENT_SOURCE_DIR}/linker.ld")
target_link_libraries(${PROJECT_NAME} PRIVATE libbase)
target_link_libraries(${PROJECT_NAME} PRIVATE "--defsym=STACK_SIZE=2560")
target_compile_definitions(${PROJECT_NAME} PRIVATE "-DNO_FLINT") # Disable linting
format_target_sources(${PROJECT_NAME})
......
bootrom @ 42fdbd2c
Subproject commit b0e997f1f2a470d862d0ed35dbb6011e4053324d
Subproject commit 42fdbd2c06c8af33b6fadf00bd6afe503817bdf6
......@@ -65,6 +65,13 @@ SECTIONS
_end = .;
} > sram
.stack ALIGN(8) (NOLOAD):
{
_fstack = .;
. += STACK_SIZE;
_estack = .;
} > sram
/DISCARD/ :
{
*(.eh_frame)
......@@ -72,7 +79,5 @@ SECTIONS
}
}
PROVIDE(_fstack = ORIGIN(sram) + LENGTH(sram) - 8);
/* Ensure needed symbols are at the expected locations */
ASSERT(_exception_entry_size <= 0x80, "_exception_entry must not be larger than 0x80 bytes)")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment