##例,将mem[1024]分配到0x02020000开始的地址空间。io
char mem[1024] __attribute__ ((section("MEM1024")));脚本
而后再在连接脚本中指定段MEM1024的位置: SECTIONS { ... MEM1024 0x02020000: { *(MEM1024) } ... }