ref: d4f9d2c95f2fcc650b00fc39e6690df9ed953c89
parent: b9d7c95aa5bf9e06fc7d6a58cd5d0c600f128bf3
author: Roberto E. Vargas Caballero <[email protected]>
date: Sat Aug 24 18:15:13 EDT 2019
[ld] Add debug section This segment is useful for debug information.
--- a/src/cmd/ld/main.c
+++ b/src/cmd/ld/main.c
@@ -22,6 +22,7 @@
Segment rodata = {.type = 'R'};
Segment data = {.type = 'D'};
Segment bss = {.type = 'B'};
+Segment debug = {.type = 'N'};
char *output = "a.out", *entry = "start";
static int status;