scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | README | LICENSE

commit 53ffabd5c6ca88f3980d33a7ed1459b73ea2bd5b
parent 57732f583e5263c9ea7f1b2c29a591f671bcdb3d
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Sat, 24 Aug 2019 22:15:13 +0100

[ld] Add debug section

This segment is useful for debug information.

Diffstat:
Msrc/cmd/ld/main.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/cmd/ld/main.c b/src/cmd/ld/main.c @@ -22,6 +22,7 @@ Segment text = {.type = 'T'}; 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;