summaryrefslogtreecommitdiffhomepage
path: root/include/psxtypes/section
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-12 18:12:50 -0500
committermidipix <writeonce@midipix.org>2016-12-12 18:12:50 -0500
commitc27e28f396cc0f40d1dbfc9b13996d100563c14a (patch)
treeba9d6fcd1f6ac90d48d263c515e73d7d4beda462 /include/psxtypes/section
parent8f1be0391590788386ba86fc1322ef0f79d6dd05 (diff)
downloadpsxtypes-c27e28f396cc0f40d1dbfc9b13996d100563c14a.tar.bz2
psxtypes-c27e28f396cc0f40d1dbfc9b13996d100563c14a.tar.xz
named section support: fix foreign compiler defs., add freestd convenience.
Diffstat (limited to 'include/psxtypes/section')
-rw-r--r--include/psxtypes/section/freestd.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/psxtypes/section/freestd.h b/include/psxtypes/section/freestd.h
new file mode 100644
index 0000000..f1ed4a6
--- /dev/null
+++ b/include/psxtypes/section/freestd.h
@@ -0,0 +1,3 @@
+#ifdef __SECTION_PRAGMA_REQUIRED__
+#pragma section(".freestd",read)
+#endif