Hello Lukas,
thank you very much for your help and your many small examples.
Do you have an addition documentation for Linking internals?
I understand now, that the following two lines are differently
#pragma section RX ".ramfunction" ".ramfunction" data_mode=far_abs code_mode=far_abs
#pragma section code_type ".ramfunction" ".ramfunction" data_mode=far_abs code_mode=far_abs
But I cannot find additional information for the additional work of code_type.
The documentation say only, that I require with the first line additional _declspec() .
---------
Also I search additional infromation to create an true uninitialized section (NOINIT). Means a section that is not erased with zeros at the beginning (like .bss).
#pragma section RW ".xx" ".command"
__declspec(section ".xx") U8 cobl_command[16];
I think I require this information:
(Mapping)
2] __init_data (func,weak) found in Runtime.PPCEABI.VS.UC.a __start.o
3] _bss_init_info (object,global) found in Linker Generated Symbol File
How can I remove my .command section from the _bss_init_info list?
(The alternativ way - remove this region completely and use a pointer to this "unknown" region I know.)
Background:
I want to have a memory region for communication between application and bootloader. The startup code should not erase and initialize it.
Thank you very much.
bye
Steffen