aboutsummaryrefslogtreecommitdiffstats
path: root/com32/include/klibc/compiler.h
diff options
context:
space:
mode:
Diffstat (limited to 'com32/include/klibc/compiler.h')
-rw-r--r--com32/include/klibc/compiler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/com32/include/klibc/compiler.h b/com32/include/klibc/compiler.h
index 5ac21185..b5919d67 100644
--- a/com32/include/klibc/compiler.h
+++ b/com32/include/klibc/compiler.h
@@ -108,6 +108,9 @@
# define __unusedfunc
#endif
+/* Used symbol */
+#define __used __attribute__((used))
+
/* Constructors and destructors */
#define __constructor __attribute__((constructor))
#define __destructor __attribute__((destructor))
@@ -126,4 +129,7 @@
#define __common __attribute__((common))
#define __nocommon __attribute__((nocommon))
+/* Weak symbols */
+#define __weak __attribute__((weak))
+
#endif