How to refer to the start-of a user-defined segment in a Visual Studio-project?
问题 I'm struggling to convert a C-program linked with ld, of the gnu tool-chain to make it compile as a visual-studio (2005) project. The program puts .data-symbols in different segments and during an initialization phase it copies data between segments. Pointers to the start and end of the segments are defined in the ld linker script. I understand how to locate the variables into different, user-defined segments, but i havent been able to figure out how to define linker constants such as _start