scc

Simple C99 Compiler
Log | Files | Refs | README | LICENSE

commit a62bbf6a5d79b1428f3a8016644daf4b44614d95
parent 3e1b1c0c4e889523604b9ecf286bb352cf2b3bc6
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Mon, 25 Jan 2016 21:05:29 +0100

[cc2-z80] Set correct name for BSS segment

The segment BSS is implemented in z80 using the alternative
segment (ASEG), but the code was using a non valid XSEG
here.

Diffstat:
cc2/arch/z80/code.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc2/arch/z80/code.c b/cc2/arch/z80/code.c @@ -21,7 +21,7 @@ segment(int seg) static char *txt[] = { [CODESEG] = "\tCSEG\n", [DATASEG] = "\tDSEG\n", - [BSSSEG] = "\tXSEG\n", + [BSSSEG] = "\tASEG\n", }; if (seg == curseg)