diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2007-02-21 14:08:26 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2007-02-21 14:08:26 +0000 |
commit | 0bb4152b761196e4e1ab4df5bd104a70c7a2dfe5 (patch) | |
tree | 446f3664f873e90d0513341a1e6e4fa0ba21ad99 /libgloss/cris/crtn.c | |
parent | 547c5c61044e4751d961ad4e9ae66b5a96a30afa (diff) | |
download | newlib-0bb4152b761196e4e1ab4df5bd104a70c7a2dfe5.zip newlib-0bb4152b761196e4e1ab4df5bd104a70c7a2dfe5.tar.gz newlib-0bb4152b761196e4e1ab4df5bd104a70c7a2dfe5.tar.bz2 |
* 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.
Diffstat (limited to 'libgloss/cris/crtn.c')
-rw-r--r-- | libgloss/cris/crtn.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libgloss/cris/crtn.c b/libgloss/cris/crtn.c index 012e5b1..a819daa 100644 --- a/libgloss/cris/crtn.c +++ b/libgloss/cris/crtn.c @@ -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; |