Commit d71ebc32 by Philip Blundell Committed by Phil Blundell

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
parent a45ea23b
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> 2001-09-17 Dale Johannesen <dalej@apple.com>
* config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2. * config/rs6000/rs6000.h (FIXED_REGISTERS): Use FIXED_R2.
......
...@@ -630,10 +630,12 @@ Lover12: ...@@ -630,10 +630,12 @@ Lover12:
#ifdef L_dvmd_lnx #ifdef L_dvmd_lnx
@ GNU/Linux division-by zero handler. Used in place of L_dvmd_tls @ GNU/Linux division-by zero handler. Used in place of L_dvmd_tls
#include <asm/unistd.h> /* 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)
#define SIGFPE 8 @ cant use <asm/signal.h> as it
@ contains too much C rubbish
FUNC_START div0 FUNC_START div0
stmfd sp!, {r1, lr} stmfd sp!, {r1, lr}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment