aboutsummaryrefslogtreecommitdiff
path: root/src/entity.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-05-24 15:41:22 +0100
committergingerBill <bill@gingerbill.org>2021-05-24 15:41:22 +0100
commitc440296ae8b0f171fc0f7df311831954c9992162 (patch)
tree62ea0c3382eeeb574b74227cd78cfede6571e5ba /src/entity.cpp
parent79f115d6a7eed3000a7ca8d40c4a8db2b79dd595 (diff)
Add `@(link_section=<string>)` for global variables
Diffstat (limited to 'src/entity.cpp')
-rw-r--r--src/entity.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/entity.cpp b/src/entity.cpp
index 460f4ec6d..173a3fcd0 100644
--- a/src/entity.cpp
+++ b/src/entity.cpp
@@ -158,6 +158,7 @@ struct Entity {
Ast * foreign_library_ident;
String link_name;
String link_prefix;
+ String link_section;
bool is_foreign;
bool is_export;
} Variable;