diff options
Diffstat (limited to 'platform/linuxbsd/pck_embed.ld')
-rw-r--r-- | platform/linuxbsd/pck_embed.ld | 10 |
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; |