summaryrefslogtreecommitdiff
path: root/platform/x11/pck_embed.ld
diff options
context:
space:
mode:
Diffstat (limited to 'platform/x11/pck_embed.ld')
-rw-r--r--platform/x11/pck_embed.ld10
1 files changed, 10 insertions, 0 deletions
diff --git a/platform/x11/pck_embed.ld b/platform/x11/pck_embed.ld
new file mode 100644
index 0000000000..fe09144d88
--- /dev/null
+++ b/platform/x11/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 (NOLOAD) :
+ {
+ /* Just some content to avoid the linker discarding the section */
+ . = ALIGN(8);
+ }
+}
+INSERT AFTER .rodata;