* cris/crt0.S: Use jump, not ba, to skip the interrupt table. Use
"setf", not "nop", for common_v10_v32 compatibility. Move out interrupt table to irqtable.S. Include here for non-ELF. * cris/irqtable.S: Extracted from cris/crt0.S. Provide per-entry weak default stub definitions. * cris/crtn.c: Use "setf", not "nop", for common_v10_v32 compatibility. * cris/setup.S [__arch_common_v10_v32]: Return. * cris/Makefile.in (BSP_OBJS): Add irqtable.o.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/* Executable and DSO init/fini end for cris*-axis-linux-gnu and simulators
|
||||
Copyright (C) 2000, 2001, 2004, 2005 Axis Communications.
|
||||
Copyright (C) 2000, 2001, 2004, 2005, 2007 Axis Communications.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
@@ -36,7 +36,7 @@ __asm__ (".section .init\n"
|
||||
#endif
|
||||
"\tmove.d [sp+],r9\n"
|
||||
"\tjump r9\n"
|
||||
"\tnop\n"
|
||||
"\tsetf\n"
|
||||
|
||||
"\t.section .fini\n"
|
||||
#ifdef __PIC__
|
||||
@@ -44,7 +44,7 @@ __asm__ (".section .init\n"
|
||||
#endif
|
||||
"\tmove.d [sp+],r9\n"
|
||||
"\tjump r9\n"
|
||||
"\tnop\n");
|
||||
"\tsetf\n");
|
||||
|
||||
#else
|
||||
extern int Dummy;
|
||||
|
Reference in New Issue
Block a user