[hackers] [scc] [cc2-z80] Set correct name for BSS segment || Roberto E. Vargas Caballero

From: <git_AT_suckless.org>
Date: Tue, 26 Jan 2016 10:57:43 +0100 (CET)

commit a62bbf6a5d79b1428f3a8016644daf4b44614d95
Author: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
AuthorDate: Mon Jan 25 21:05:29 2016 +0100
Commit: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
CommitDate: Mon Jan 25 21:05:29 2016 +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.

diff --git a/cc2/arch/z80/code.c b/cc2/arch/z80/code.c
index eae5b1a..92799a8 100644
--- a/cc2/arch/z80/code.c
+++ b/cc2/arch/z80/code.c
_AT_@ -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)
Received on Tue Jan 26 2016 - 10:57:43 CET

This archive was generated by hypermail 2.3.0 : Tue Jan 26 2016 - 11:00:41 CET