forked from Imagelibrary/rtems
riscv: Add NOLOAD directive to the .work section
ld.lld defaults .work to PROGBITS otherwise
This commit is contained in:
@@ -314,7 +314,7 @@ SECTIONS {
|
||||
} > REGION_RTEMSSTACK AT > REGION_RTEMSSTACK
|
||||
bsp_section_rtemsstack_size = bsp_section_rtemsstack_end - bsp_section_rtemsstack_begin;
|
||||
|
||||
.work : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
|
||||
.work (NOLOAD) : @RISCV_LINKER_ALIGN_DIRECTIVE@ {
|
||||
/*
|
||||
* The work section will occupy the remaining REGION_WORK region and
|
||||
* contains the RTEMS work space and heap.
|
||||
|
||||
Reference in New Issue
Block a user