Linking binary against functions/data in specific location in memory

后端 未结 1 1572
自闭症患者
自闭症患者 2020-12-20 07:16

I\'m currently in the process of writing an intermediate-memory bootloader for an ATMega.

I\'d like to place a section of commonly used functions and data in a speci

相关标签:
1条回答
  • 2020-12-20 07:56

    Consider using -R <file> as linker option (gcc -Wl,-R -Wl,<file>).

    This will generate references to (global) symbols in <file> just as if they were linked normally, but not include the referenced code.

    0 讨论(0)
提交回复
热议问题