RISC-V: Moved syscalls to separate files to fix aliasing problems.
This commit is contained in:
9
libgloss/riscv/sys_getcwd.c
Normal file
9
libgloss/riscv/sys_getcwd.c
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <machine/syscall.h>
|
||||
#include <sys/types.h>
|
||||
|
||||
/* Stub. */
|
||||
char *
|
||||
_getcwd(char *buf, size_t size)
|
||||
{
|
||||
return NULL;
|
||||
}
|
Reference in New Issue
Block a user