moved uninitialized variables to .bss (was .data)

This commit is contained in:
Markus Fröschle
2013-12-08 07:50:28 +00:00
parent 586993afaa
commit 4175b8ec8f
2 changed files with 1 additions and 4 deletions

View File

@@ -465,13 +465,10 @@ noprint:
move.l (a7)+,d0 // restore d0
rts // jump to exception routine
.data
exception_text:
.ascii "EXCEPTION %d caught at %p"
.byte 13, 10, 0
.text
#ifdef MACHINE_FIREBEE
stv_protect:
move.l usp,a5 // usp holen

View File

@@ -69,7 +69,7 @@ int register_interrupt_handler(uint8_t priority, uint8_t source, void (*func)())
"move.w sr,d0\n\t"
"move.w d0,srsave \n\t"
"move.w #0x2700,sr\n\t"
" .data\n\t"
" .bss\n\t"
"srsave: ds.w 1\n\t"
" .text\n\t"
: