2023-03-31 00:12:29 +08:00
|
|
|
|
|
|
|
PHDRS {
|
|
|
|
data_phdr PT_LOAD;
|
|
|
|
rodata_phdr PT_LOAD;
|
|
|
|
}
|
|
|
|
|
|
|
|
EXTERN(HPSRAM)
|
|
|
|
|
|
|
|
SECTIONS {
|
|
|
|
.data : ALIGN(4096) {
|
|
|
|
_data_start = ABSOLUTE(.);
|
|
|
|
*(.data)
|
|
|
|
*(.data.*)
|
2023-10-26 18:35:48 +08:00
|
|
|
*(.*.data)
|
2023-03-31 00:12:29 +08:00
|
|
|
_data_end = ABSOLUTE(.);
|
|
|
|
} >HPSRAM_seg : data_phdr
|
|
|
|
|
2023-12-08 13:38:29 +08:00
|
|
|
.rodata : ALIGN(4096) {
|
2023-03-31 00:12:29 +08:00
|
|
|
_rodata_start = ABSOLUTE(.);
|
|
|
|
*(.gnu.linkonce.r.*)
|
|
|
|
*(.rodata)
|
|
|
|
*(.rodata.*)
|
|
|
|
KEEP (*(.eh_frame))
|
|
|
|
_rodata_end = ABSOLUTE(.);
|
|
|
|
} >HPSRAM_seg : rodata_phdr
|
|
|
|
|
|
|
|
/* Module manifest is here */
|
2024-07-18 22:37:28 +08:00
|
|
|
.module : {
|
2023-03-31 00:12:29 +08:00
|
|
|
KEEP(*(.module))
|
2024-07-18 22:37:28 +08:00
|
|
|
} >HPSRAM_seg : rodata_phdr
|
2023-03-31 00:12:29 +08:00
|
|
|
}
|