From f888fe111c14e94fd2c4c306467c69943addef00 Mon Sep 17 00:00:00 2001 From: MaartenBrock Date: Thu, 19 Oct 2006 21:47:29 +0000 Subject: [PATCH] * device/lib/gbz80/crt0.s, * device/lib/gbz80/crt0_rle.s, * device/lib/gbz80/div.s, * device/lib/gbz80/fstubs.s, * device/lib/gbz80/heap.s, * device/lib/gbz80/mul.s, * device/lib/gbz80/putchar.s, * device/lib/gbz80/stubs.s, * device/lib/z80/crt0.s, * device/lib/z80/crt0_rle.s, * device/lib/z80/div.s, * device/lib/z80/fstubs.s, * device/lib/z80/heap.s, * device/lib/z80/mul.s, * device/lib/z80/putchar.s, * device/lib/z80/stubs.s: removed all leading underscores from area names git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4418 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- ChangeLog | 19 +++++++++++++++++++ device/lib/gbz80/crt0.s | 22 +++++++++++----------- device/lib/gbz80/crt0_rle.s | 3 +-- device/lib/gbz80/div.s | 4 ++-- device/lib/gbz80/fstubs.s | 2 +- device/lib/gbz80/heap.s | 6 +++--- device/lib/gbz80/mul.s | 2 +- device/lib/gbz80/putchar.s | 2 +- device/lib/gbz80/stubs.s | 2 +- device/lib/z80/crt0.s | 22 +++++++++++----------- device/lib/z80/crt0_rle.s | 2 +- device/lib/z80/div.s | 4 ++-- device/lib/z80/fstubs.s | 2 +- device/lib/z80/heap.s | 6 +++--- device/lib/z80/mul.s | 2 +- device/lib/z80/putchar.s | 2 +- device/lib/z80/stubs.s | 2 +- 17 files changed, 61 insertions(+), 43 deletions(-) diff --git a/ChangeLog b/ChangeLog index 056bbd1d..959c247b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,22 @@ +2006-10-19 Maarten Brock + + * device/lib/gbz80/crt0.s, + * device/lib/gbz80/crt0_rle.s, + * device/lib/gbz80/div.s, + * device/lib/gbz80/fstubs.s, + * device/lib/gbz80/heap.s, + * device/lib/gbz80/mul.s, + * device/lib/gbz80/putchar.s, + * device/lib/gbz80/stubs.s, + * device/lib/z80/crt0.s, + * device/lib/z80/crt0_rle.s, + * device/lib/z80/div.s, + * device/lib/z80/fstubs.s, + * device/lib/z80/heap.s, + * device/lib/z80/mul.s, + * device/lib/z80/putchar.s, + * device/lib/z80/stubs.s: removed all leading underscores from area names + 2006-10-17 Maarten Brock * support/regression/ports/mcs51/support.c: use highest baudrate so the diff --git a/device/lib/gbz80/crt0.s b/device/lib/gbz80/crt0.s index 3da7e319..eda72140 100644 --- a/device/lib/gbz80/crt0.s +++ b/device/lib/gbz80/crt0.s @@ -1,7 +1,7 @@ ;; Generic crt0.s for a GBZ80 .globl _main - .area _HEADER (ABS) + .area HEADER (ABS) ;; Reset vector .org 0 jp init @@ -38,16 +38,16 @@ init: jp _exit ;; Ordering of segments for the linker. - .area _HOME - .area _CODE - .area _GSINIT - .area _GSFINAL + .area HOME + .area CODE + .area GSINIT + .area GSFINAL - .area _DATA - .area _BSS - .area _HEAP + .area DATA + .area BSS + .area HEAP - .area _CODE + .area CODE __clock:: ld a,#2 rst 0x08 @@ -61,8 +61,8 @@ _exit:: halt jr 1$ - .area _GSINIT + .area GSINIT gsinit:: - .area _GSFINAL + .area GSFINAL ret diff --git a/device/lib/gbz80/crt0_rle.s b/device/lib/gbz80/crt0_rle.s index e7deb7d9..8b0e8467 100644 --- a/device/lib/gbz80/crt0_rle.s +++ b/device/lib/gbz80/crt0_rle.s @@ -1,4 +1,4 @@ - .area _CODE + .area CODE ;; Special RLE decoder used for initing global data __initrleblock:: @@ -42,4 +42,3 @@ __initrleblock:: ;; Push the return address back onto the stack push hl ret - diff --git a/device/lib/gbz80/div.s b/device/lib/gbz80/div.s index eb3cedb7..7dfcbdff 100644 --- a/device/lib/gbz80/div.s +++ b/device/lib/gbz80/div.s @@ -1,5 +1,5 @@ ;; Originally from GBDK by Pascal Felber. - .area _CODE + .area CODE __divschar_rrx_s:: ld hl,#2+1 @@ -321,7 +321,7 @@ __moduint_rrx_hds:: or a ; Clear carry, valid result ret - .area _BSS + .area BSS .srem: .ds 0x01 ; Sign of quotient diff --git a/device/lib/gbz80/fstubs.s b/device/lib/gbz80/fstubs.s index c51d917d..33605173 100644 --- a/device/lib/gbz80/fstubs.s +++ b/device/lib/gbz80/fstubs.s @@ -1,5 +1,5 @@ ;; Stubs to match between function names - .area _CODE + .area CODE .globl ___slong2fs ___slong2fs_rrx_s:: diff --git a/device/lib/gbz80/heap.s b/device/lib/gbz80/heap.s index ec3b4128..bb1a8320 100644 --- a/device/lib/gbz80/heap.s +++ b/device/lib/gbz80/heap.s @@ -1,14 +1,14 @@ ;; Stubs that hook the heap in .globl __sdcc_heap_init - .area _GSINIT + .area GSINIT call __sdcc_heap_init - .area _HEAP + .area HEAP __sdcc_heap_start:: ;; For now just allocate 1k of heap. .ds 1023 - .area _HEAP_END + .area HEAP_END __sdcc_heap_end:: .ds 1 diff --git a/device/lib/gbz80/mul.s b/device/lib/gbz80/mul.s index 3fed7062..0cac8db0 100644 --- a/device/lib/gbz80/mul.s +++ b/device/lib/gbz80/mul.s @@ -1,6 +1,6 @@ ;; Originally from GBDK by Pascal Felber. - .area _CODE + .area CODE __mulschar_rrx_s:: ld hl,#2 diff --git a/device/lib/gbz80/putchar.s b/device/lib/gbz80/putchar.s index 4b43a615..8eb9dc4d 100644 --- a/device/lib/gbz80/putchar.s +++ b/device/lib/gbz80/putchar.s @@ -1,4 +1,4 @@ - .area _CODE + .area CODE _putchar:: _putchar_rr_s:: ld hl,#2 diff --git a/device/lib/gbz80/stubs.s b/device/lib/gbz80/stubs.s index 8f128528..ebb22252 100644 --- a/device/lib/gbz80/stubs.s +++ b/device/lib/gbz80/stubs.s @@ -1,5 +1,5 @@ ;; Stubs to match between function names - .area _CODE + .area CODE .globl __mullong .globl __modslong diff --git a/device/lib/z80/crt0.s b/device/lib/z80/crt0.s index 50e9e5c6..a87a2baa 100644 --- a/device/lib/z80/crt0.s +++ b/device/lib/z80/crt0.s @@ -2,7 +2,7 @@ .module crt0 .globl _main - .area _HEADER (ABS) + .area HEADER (ABS) ;; Reset vector .org 0 jp init @@ -33,16 +33,16 @@ init: jp _exit ;; Ordering of segments for the linker. - .area _HOME - .area _CODE - .area _GSINIT - .area _GSFINAL + .area HOME + .area CODE + .area GSINIT + .area GSFINAL - .area _DATA - .area _BSS - .area _HEAP + .area DATA + .area BSS + .area HEAP - .area _CODE + .area CODE __clock:: ld a,#2 rst 0x08 @@ -56,8 +56,8 @@ _exit:: halt jr 1$ - .area _GSINIT + .area GSINIT gsinit:: - .area _GSFINAL + .area GSFINAL ret diff --git a/device/lib/z80/crt0_rle.s b/device/lib/z80/crt0_rle.s index e7deb7d9..f868d71b 100644 --- a/device/lib/z80/crt0_rle.s +++ b/device/lib/z80/crt0_rle.s @@ -1,4 +1,4 @@ - .area _CODE + .area CODE ;; Special RLE decoder used for initing global data __initrleblock:: diff --git a/device/lib/z80/div.s b/device/lib/z80/div.s index 19e47457..5ef13688 100644 --- a/device/lib/z80/div.s +++ b/device/lib/z80/div.s @@ -1,5 +1,5 @@ ;; Originally from GBDK by Pascal Felber. - .area _CODE + .area CODE __divschar_rrx_s:: ld hl,#2+1 @@ -329,7 +329,7 @@ __moduint_rrx_hds:: or a ; Clear carry, valid result ret - .area _BSS + .area BSS .srem: .ds 0x01 ; Sign of quotient diff --git a/device/lib/z80/fstubs.s b/device/lib/z80/fstubs.s index 3d5f6107..222817f4 100644 --- a/device/lib/z80/fstubs.s +++ b/device/lib/z80/fstubs.s @@ -1,5 +1,5 @@ ;; Stubs to match between function names - .area _CODE + .area CODE ___slong2fs_rrx_s:: jp ___slong2fs diff --git a/device/lib/z80/heap.s b/device/lib/z80/heap.s index ec3b4128..bb1a8320 100644 --- a/device/lib/z80/heap.s +++ b/device/lib/z80/heap.s @@ -1,14 +1,14 @@ ;; Stubs that hook the heap in .globl __sdcc_heap_init - .area _GSINIT + .area GSINIT call __sdcc_heap_init - .area _HEAP + .area HEAP __sdcc_heap_start:: ;; For now just allocate 1k of heap. .ds 1023 - .area _HEAP_END + .area HEAP_END __sdcc_heap_end:: .ds 1 diff --git a/device/lib/z80/mul.s b/device/lib/z80/mul.s index 00e6ce9e..a58e9691 100644 --- a/device/lib/z80/mul.s +++ b/device/lib/z80/mul.s @@ -1,6 +1,6 @@ ;; Originally from GBDK by Pascal Felber. - .area _CODE + .area CODE __mulschar_rrx_s:: ld hl,#2 diff --git a/device/lib/z80/putchar.s b/device/lib/z80/putchar.s index 91e166d9..d10710ae 100644 --- a/device/lib/z80/putchar.s +++ b/device/lib/z80/putchar.s @@ -1,4 +1,4 @@ - .area _CODE + .area CODE _putchar:: _putchar_rr_s:: ld hl,#2 diff --git a/device/lib/z80/stubs.s b/device/lib/z80/stubs.s index 8f128528..ebb22252 100644 --- a/device/lib/z80/stubs.s +++ b/device/lib/z80/stubs.s @@ -1,5 +1,5 @@ ;; Stubs to match between function names - .area _CODE + .area CODE .globl __mullong .globl __modslong -- 2.30.2