lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel header files.
2001-09-18 Philip Blundell <philb@gnu.org> * config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel header files. From-SVN: r45674
This commit is contained in:
parent
a45ea23b3d
commit
d71ebc326b
2 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,8 @@
|
|||
2001-09-18 Philip Blundell <philb@gnu.org>
|
||||
|
||||
* config/arm/lib1funcs.asm (L_dvmd_lnx): Don't rely on kernel
|
||||
header files.
|
||||
|
||||
2001-09-17 Dale Johannesen <dalej@apple.com>
|
||||
|
||||
* config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
|
||||
|
|
|
@ -630,10 +630,12 @@ Lover12:
|
|||
#ifdef L_dvmd_lnx
|
||||
@ GNU/Linux division-by zero handler. Used in place of L_dvmd_tls
|
||||
|
||||
#include <asm/unistd.h>
|
||||
|
||||
#define SIGFPE 8 @ cant use <asm/signal.h> as it
|
||||
@ contains too much C rubbish
|
||||
/* Constants taken from <asm/unistd.h> and <asm/signal.h> */
|
||||
#define SIGFPE 8
|
||||
#define __NR_SYSCALL_BASE 0x900000
|
||||
#define __NR_getpid (__NR_SYSCALL_BASE+ 20)
|
||||
#define __NR_kill (__NR_SYSCALL_BASE+ 37)
|
||||
|
||||
FUNC_START div0
|
||||
|
||||
stmfd sp!, {r1, lr}
|
||||
|
|
Loading…
Add table
Reference in a new issue