summaryrefslogtreecommitdiffstats
path: root/platform/linuxbsd/pck_embed.ld
diff options
context:
space:
mode:
authorJuan Linietsky <juan@godotengine.org>2020-03-03 10:36:29 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-03-26 15:49:34 +0100
commitf8a79a97c7d12da43b111a756f09ee7ad5ea28e9 (patch)
tree6728478a8e3bb2669ee4096cf354e87475b4469d /platform/linuxbsd/pck_embed.ld
parent4396e98834f159da59ec790f2ff64fb65dacd9ce (diff)
downloadredot-engine-f8a79a97c7d12da43b111a756f09ee7ad5ea28e9.tar.gz
Effective DisplayServer separation, rename X11 -> LinuxBSD
Diffstat (limited to 'platform/linuxbsd/pck_embed.ld')
-rw-r--r--platform/linuxbsd/pck_embed.ld10
1 files changed, 10 insertions, 0 deletions
diff --git a/platform/linuxbsd/pck_embed.ld b/platform/linuxbsd/pck_embed.ld
new file mode 100644
index 0000000000..57a1994043
--- /dev/null
+++ b/platform/linuxbsd/pck_embed.ld
@@ -0,0 +1,10 @@
+SECTIONS
+{
+ /* Add a zero-sized section; the exporter will patch it to enclose the data appended to the executable (embedded PCK) */
+ pck 0 (INFO) :
+ {
+ /* binutils >= 2.30 allow it being zero-sized, but needs something between the braces to keep the section */
+ . = ALIGN(8);
+ }
+}
+INSERT AFTER .rodata;