语法
__attribute__((at(address)))
其间:
- address
-
是所需的变量地址。
约束
链接器并非一直可以放置 at 变量特点生成的节。
过错
假如无法将节放置在指定地址,链接器将显现一条过错音讯。
示例
const int x1 __attribute__((at(0x10000))) = 10; int x2 __attribute__((at(0x12000))) = 10; int x3 __attribute__((at(0x14000))) = 0; int x4 __attribute__((at(0x16000)));
另请参看
uint32 |
或许参加:
#include