Linking binary against functions/data in specific location in memory

后端 未结 1 1578
自闭症患者
自闭症患者 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 as linker option (gcc -Wl,-R -Wl,).

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

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