PolymorphicEngine
Barry Read ELF format for binary modification 85e847c (2 years, 4 months ago)diff --git a/script.ld b/script.ld index 2b41fdb..841f4f3 100644 --- a/script.ld +++ b/script.ld @@ -1,7 +1,18 @@ SECTIONS { - binaryStart = 0x00000000; - polymorphicStart = .; .polymorphic : { *(.polymorphic); } - polymorphicEnd = .; + + /DISCARD/ : + { + *(.comment) + *(.debug_aranges) + *(.debug_info) + *(.debug_abbrev) + *(.debug_line) + *(.debug_str) + *(.debug_line_str) + *(.debug_rnglists) + *(.debug_loclists) + *(.note.*) + } } INSERT AFTER .text;