Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Absolute code location & startup code removal

2004-11-09
2013-03-12
  • Ivar Johnsrud
    Ivar Johnsrud
    2004-11-09

    Is it possible to tell the compiler/linker where to locate specific parts of code i.e. make the function foo() to be located at 0x87ff or main() at 0x6999.

    Is it possible to remove all startup code, ie make the linker put a call to __sdcc_program_startup in the reset vector and remove these code sections: __sdcc_gsinit_startup, __sdcc_init_data.

    Regards,
    -Ivar