BarryServer : Git

All the code for all my projects
// BarryServer : Git / PolymorphicEngine / commit / 85e847c2fd4085ff90bc7180a721e4dee78331bd / script.ld

// Related

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;