mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-11-14 02:02:39 +08:00
bsps/powerpc: Move .rtemstack section
Move the .rtemsstack section from a read-only to a read-write area, see page table setup in __BSP_default_pgtbl_setup().
This commit is contained in:
1 parent
e1fc23f057
commit
dbe6e0ad09
1 file changed
+3
-4
@@ -97,10 +97,6 @@ SECTIONS
|
||||
_TLS_Size = _TLS_BSS_end - _TLS_Data_begin;
|
||||
_TLS_Alignment = MAX (ALIGNOF (.tdata), ALIGNOF (.tbss));
|
||||
|
||||
.rtemsstack (NOLOAD) : {
|
||||
*(SORT(.rtemsstack.*))
|
||||
} >CODE
|
||||
|
||||
/* Adjust the address for the data segment. We want to adjust up to
|
||||
the same address within the page on the next page up. */
|
||||
. = ALIGN(0x10000) + (. & (0x10000 - 1));
|
||||
@@ -245,6 +241,9 @@ SECTIONS
|
||||
. = ALIGN(16);
|
||||
PROVIDE (__bss_end = .);
|
||||
} > CODE
|
||||
.rtemsstack (NOLOAD) : {
|
||||
*(SORT(.rtemsstack.*))
|
||||
} >CODE
|
||||
. = ALIGN(16);
|
||||
_end = . ;
|
||||
__rtems_end = . ;
|
||||
|
||||
Reference in new issue
Block a user