diff options
Diffstat (limited to 'sample_elf.lua')
| -rw-r--r-- | sample_elf.lua | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sample_elf.lua b/sample_elf.lua index 26f0a62..724a221 100644 --- a/sample_elf.lua +++ b/sample_elf.lua @@ -34,3 +34,13 @@ sections { flags = SectionFlags.alloc, }, } + +for _, s in ipairs({ ".note.netbsd.ident", ".note.netbsd.pax", }) do + sections { + { + name = s, + type = SectionType.note, + flags = SectionFlags.strings, + }, + } +end |
