shithub: scc

Download patch

ref: a62bbf6a5d79b1428f3a8016644daf4b44614d95
parent: 3e1b1c0c4e889523604b9ecf286bb352cf2b3bc6
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Mon Jan 25 16:05:29 EST 2016

[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.

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