PHDRS
{
- fpgaimage PT_LOAD FLAGS(4);
- text PT_LOAD;
+ text PT_LOAD FLAGS(5);
data PT_LOAD;
bss PT_LOAD;
}
ENTRY(Vector)
SECTIONS
{
- .fpgaimage : {
- *(fpga_lf_bit.data)
- *(fpga_hf_bit.data)
- } >fpgaimage :fpgaimage
-
.start : {
*(.startos)
} >osimage :text
.rodata : {
*(.rodata)
*(.rodata.*)
+ *(fpga_lf_bit.data)
+ *(fpga_hf_bit.data)
KEEP(*(.version_information))
} >osimage :text
__data_src_start__ = LOADADDR(.data);
__data_start__ = ADDR(.data);
__data_end__ = __data_start__ + SIZEOF(.data);
+ __os_size__ = SIZEOF(.text) + SIZEOF(.data) + SIZEOF(.rodata);
.bss : {
__bss_start__ = .;