Commit 924479e8 by Hans-Peter Nilsson Committed by Hans-Peter Nilsson

asmreg-1.c (__syscall_getdents64): Adjust signedness declaration/use mismatch for dirp parameter.

	* gcc.dg/asmreg-1.c (__syscall_getdents64): Adjust signedness
	declaration/use mismatch for dirp parameter.

From-SVN: r87412
parent ad7b96a9
2004-09-13 Hans-Peter Nilsson <hp@axis.com>
* gcc.dg/asmreg-1.c (__syscall_getdents64): Adjust signedness
declaration/use mismatch for dirp parameter.
2004-09-12 Andrew Pinski <apinski@apple.com> 2004-09-12 Andrew Pinski <apinski@apple.com>
* lib/objc.exp (objc_target_compile): Look for libobjc-gnu.a also when * lib/objc.exp (objc_target_compile): Look for libobjc-gnu.a also when
......
...@@ -22,7 +22,7 @@ struct kernel_dirent64 ...@@ -22,7 +22,7 @@ struct kernel_dirent64
}; };
static inline int __attribute__ ((__always_inline__)) static inline int __attribute__ ((__always_inline__))
__syscall_getdents64 (int fd, unsigned char * dirp, unsigned count) __syscall_getdents64 (int fd, char * dirp, unsigned count)
{ {
register unsigned long __sys_res asm ("r10"); register unsigned long __sys_res asm ("r10");
register unsigned long __r10 __asm__ ("r10") = (unsigned long) fd; register unsigned long __r10 __asm__ ("r10") = (unsigned long) fd;
......
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