[git commit master 1/1] MIPS: Fix build error with linuxthreads.old

Austin Foxley austinf at cetoncorp.com
Tue Jun 22 14:50:48 UTC 2010


commit: http://git.uclibc.org/uClibc/commit/?id=5f88296d3bdef19bb5456baa0d0ff4697398be3b
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

This patch avoid the following build error:
  AS libc/sysdeps/linux/mips/vfork.os
In file included from libc/sysdeps/linux/mips/vfork.S:22:
./libc/sysdeps/linux/mips/sysdep.h:41:20: error: regdef.h: No such file
or directory
libc/sysdeps/linux/mips/vfork.S: Assembler messages:
libc/sysdeps/linux/mips/vfork.S:40: Warning: Unrecognized register name `sp'
libc/sysdeps/linux/mips/vfork.S:40: Warning: Bad .frame directive
libc/sysdeps/linux/mips/vfork.S:40: Error: junk at end of line, first
unrecognized character is `s'
libc/sysdeps/linux/mips/vfork.S:44: Error: illegal operands `dsubu
sp,FRAMESZ'
libc/sysdeps/linux/mips/vfork.S:45: Error: bad or irreducible absolute
expression
libc/sysdeps/linux/mips/vfork.S:65: Error: illegal operands `daddu
sp,FRAMESZ'
libc/sysdeps/linux/mips/vfork.S:69: Error: illegal operands `li a0,0x4112'
libc/sysdeps/linux/mips/vfork.S:70: Error: illegal operands `move a1,sp'
libc/sysdeps/linux/mips/vfork.S:73: Error: illegal operands `li
v0,(5000+55)'
libc/sysdeps/linux/mips/vfork.S:78: Error: illegal operands `bnez
a3,.Lerror'
libc/sysdeps/linux/mips/vfork.S:88: Error: illegal operands `dla
t9,__syscall_error'
libc/sysdeps/linux/mips/vfork.S:90: Error: illegal operands `jr t9'

Signed-off-by: Abdoulaye Walsimou Gaye <awg at embtoolkit.org>
Signed-off-by: Austin Foxley <austinf at cetoncorp.com>
---
 libc/sysdeps/linux/mips/sysdep.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libc/sysdeps/linux/mips/sysdep.h b/libc/sysdeps/linux/mips/sysdep.h
index 56d1590..4cefd61 100644
--- a/libc/sysdeps/linux/mips/sysdep.h
+++ b/libc/sysdeps/linux/mips/sysdep.h
@@ -38,7 +38,7 @@
 
 #ifdef __ASSEMBLER__
 
-#include <regdef.h>
+#include <sys/regdef.h>
 
 #define ENTRY(name) 					\
   .globl name;						\
-- 
1.7.1



More information about the uClibc-cvs mailing list