2007-01-04 Kazu Hirata <kazu@codesourcery.com>

Merge from newlib-csl-20060320-branch:
        2006-12-22  Nathan Sidwell  <nathan@codesourcery.com>

        libgloss/
        * m68k/Makefile.in (CF_ISRS): Remove now shared routines.
        * m68k/cf-crt0.S (__reset): Define here.
        * m68k/cf-isrs.c: Share some ISRS.  Add aliases for each IRQ slot.
        * m68k/cf-isv.S: Move to .interrupt_vector section.  Make each
        slot a unique routine.
        * m68k/cf.sc: Adjust for .interrupt_vector section.

        libgloss/
        * m68k/Makefile.in (m5273c3): Rename to ...
        (m5272c3): ... here to fix typo.
        (m5249c3): New.
        (CF_BOARDS): Add it.
This commit is contained in:
Jeff Johnston
2007-01-04 18:05:56 +00:00
parent 0a9e977f62
commit 9d507d4d4b
6 changed files with 209 additions and 161 deletions

View File

@@ -20,6 +20,17 @@
.extern __heap_end
.weak __heap_end
.extern __start1
/* __reset should cause a HALT in a hosted executable and
fall into __start for an unhosted executable. The user is
free to override this with their own declaration. */
.globl __reset
.weak __reset
__reset:
#if HOSTED
HALT
#endif
.globl __start
__start:
/* Initialize stack */
@@ -42,3 +53,4 @@ __start:
move.l d1,sp@-
move.l fp,sp@- /* Dummy return address */
jmp __start1