mirror of
https://git.planet-casio.com/Vhex-Kernel-Core/fxlibc.git
synced 2024-12-29 13:03:38 +01:00
Fix installation / uninstallation rules + Fix compilation ABI support
This commit is contained in:
parent
6fa1e2498d
commit
f76757ecd2
78 changed files with 80 additions and 74 deletions
|
@ -1 +0,0 @@
|
||||||
#include <asm/unistd_32.h>
|
|
1
include/fxlibc/asm/unistd.h
Normal file
1
include/fxlibc/asm/unistd.h
Normal file
|
@ -0,0 +1 @@
|
||||||
|
#include <fxlibc/asm/unistd_32.h>
|
|
@ -3,11 +3,11 @@
|
||||||
|
|
||||||
// ABI redirection
|
// ABI redirection
|
||||||
#if defined(__SUPPORT_VHEX_KERNEL)
|
#if defined(__SUPPORT_VHEX_KERNEL)
|
||||||
# include <arch/vhex/unistd_32.h>
|
# include <fxlibc/arch/vhex/unistd_32.h>
|
||||||
#elif defined(__SUPPORT_CASIO_ABI_FX9860G)
|
#elif defined(__SUPPORT_CASIO_ABI_FX9860G)
|
||||||
# include <arch/fx9860g/unistd_32.h>
|
# include <fxlibc/arch/fx9860g/unistd_32.h>
|
||||||
#elif defined(__SUPPORT_CASIO_ABI_FXCG50)
|
#elif defined(__SUPPORT_CASIO_ABI_FXCG50)
|
||||||
# include <arch/fxcg50/unistd_32.h>
|
# include <fxlibc/arch/fxcg50/unistd_32.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /*__ASM_UNISTD_32_H__*/
|
#endif /*__ASM_UNISTD_32_H__*/
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <sys/types.h>
|
|
||||||
|
#include <fxlibc/sys/types.h>
|
||||||
|
|
||||||
//---
|
//---
|
||||||
// TODO: VFS abstraction ? or ABI-spesific abstraction ?
|
// TODO: VFS abstraction ? or ABI-spesific abstraction ?
|
|
@ -5,7 +5,7 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
/* Get '__jmp_buf' */
|
/* Get '__jmp_buf' */
|
||||||
#include <bits/setjmp.h>
|
#include <fxlibc/bits/setjmp.h>
|
||||||
|
|
||||||
/* User jmp_buf alias */
|
/* User jmp_buf alias */
|
||||||
typedef struct __jmp_buf jmp_buf[1];
|
typedef struct __jmp_buf jmp_buf[1];
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <bits/signum.h>
|
|
||||||
|
#include <fxlibc/bits/signum.h>
|
||||||
|
|
||||||
/* Type of signal set */
|
/* Type of signal set */
|
||||||
typedef uint32_t sigset_t;
|
typedef uint32_t sigset_t;
|
1
include/fxlibc/sys/signal.h
Normal file
1
include/fxlibc/sys/signal.h
Normal file
|
@ -0,0 +1 @@
|
||||||
|
#include <fxlibc/signal.h>
|
|
@ -6,13 +6,13 @@
|
||||||
** But instead of duplicating this we use the information available
|
** But instead of duplicating this we use the information available
|
||||||
** from the kernel sources.
|
** from the kernel sources.
|
||||||
*/
|
*/
|
||||||
#include <asm/unistd.h>
|
#include <fxlibc/asm/unistd.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** The Linux kernel header file defines macros __NR_*, but some
|
** The Linux kernel header file defines macros __NR_*, but some
|
||||||
** programs expect the traditional form SYS_*. <bits/syscall.h>
|
** programs expect the traditional form SYS_*. <bits/syscall.h>
|
||||||
** defines SYS_* macros for __NR_* macros of known names.
|
** defines SYS_* macros for __NR_* macros of known names.
|
||||||
*/
|
*/
|
||||||
#include <bits/syscall.h>
|
#include <fxlibc/bits/syscall.h>
|
||||||
|
|
||||||
#endif
|
#endif
|
|
@ -9,10 +9,10 @@
|
||||||
** This will define the `W*' macros for the flag bits to `waitpid', `wait3',
|
** This will define the `W*' macros for the flag bits to `waitpid', `wait3',
|
||||||
** and `wait4'.
|
** and `wait4'.
|
||||||
*/
|
*/
|
||||||
#include <bits/waitflags.h>
|
#include <fxlibc/bits/waitflags.h>
|
||||||
|
|
||||||
/* This will define all the `__W*' macros.*/
|
/* This will define all the `__W*' macros.*/
|
||||||
#include <bits/waitstatus.h>
|
#include <fxlibc/bits/waitstatus.h>
|
||||||
|
|
||||||
/* Macros for the `waitpid`'s wstatus argument. */
|
/* Macros for the `waitpid`'s wstatus argument. */
|
||||||
#define WEXITSTATUS(status) __WEXITSTATUS(status)
|
#define WEXITSTATUS(status) __WEXITSTATUS(status)
|
1
include/fxlibc/syscall.h
Normal file
1
include/fxlibc/syscall.h
Normal file
|
@ -0,0 +1 @@
|
||||||
|
#include <fxlibc/sys/syscall.h>
|
|
@ -3,7 +3,8 @@
|
||||||
|
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <sys/types.h>
|
|
||||||
|
#include <fxlibc/sys/types.h>
|
||||||
|
|
||||||
//---
|
//---
|
||||||
// Process part
|
// Process part
|
||||||
|
@ -86,7 +87,7 @@ extern int close(int __fd);
|
||||||
** the `_SC_*' symbols for the NAME argument to `sysconf'; and the `_CS_*'
|
** the `_SC_*' symbols for the NAME argument to `sysconf'; and the `_CS_*'
|
||||||
** symbols for the NAME argument to `confstr'.
|
** symbols for the NAME argument to `confstr'.
|
||||||
*/
|
*/
|
||||||
#include <bits/confname.h>
|
#include <fxlibc/bits/confname.h>
|
||||||
|
|
||||||
/* Get the value of the system variable NAME. */
|
/* Get the value of the system variable NAME. */
|
||||||
extern long int sysconf(int __name);
|
extern long int sysconf(int __name);
|
|
@ -1 +0,0 @@
|
||||||
#include <signal.h>
|
|
|
@ -1 +0,0 @@
|
||||||
#include <sys/syscall.h>
|
|
|
@ -35,7 +35,7 @@
|
||||||
#---
|
#---
|
||||||
MAJOR := 0
|
MAJOR := 0
|
||||||
MINOR := 3
|
MINOR := 3
|
||||||
PATCH := 5
|
PATCH := 6
|
||||||
EXTRAVERSION :=
|
EXTRAVERSION :=
|
||||||
|
|
||||||
|
|
||||||
|
@ -140,9 +140,9 @@ endif
|
||||||
# add custom project-specific flags based on the target ABI
|
# add custom project-specific flags based on the target ABI
|
||||||
ifeq ($1,fxlibc-vhex)
|
ifeq ($1,fxlibc-vhex)
|
||||||
lib-cflags += -D __SUPPORT_VHEX_KERNEL
|
lib-cflags += -D __SUPPORT_VHEX_KERNEL
|
||||||
else ifeq ($1,fxlibc-casio-abi-fx9860g)
|
else ifeq ($1,fxlibc-fx9860g)
|
||||||
lib-cflags += -D __SUPPORT_CASIO_ABI_FX9860G
|
lib-cflags += -D __SUPPORT_CASIO_ABI_FX9860G
|
||||||
else ifeq ($1,fxlibc-casio-abi-fxcf50)
|
else ifeq ($1,fxlibc-fxcf50)
|
||||||
lib-cflags += -D __SUPPORT_CASIO_ABI_FXCG50
|
lib-cflags += -D __SUPPORT_CASIO_ABI_FXCG50
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
@ -235,7 +235,11 @@ $(foreach libs,$(lib-generation-rules),$(eval \
|
||||||
))
|
))
|
||||||
|
|
||||||
# Generate the path where include directory will be installed.
|
# Generate the path where include directory will be installed.
|
||||||
lib-install-header-dir := $(CONFIG.PREFIX)include/fxlibc
|
lib-install-header-dir := $(CONFIG.PREFIX)include/
|
||||||
|
ifeq ($(wildcard $(lib-install-header-dir)fxlibc/.*),)
|
||||||
|
lib-install-header-dir := $(lib-install-header-dir)fxlibc
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -244,11 +248,10 @@ lib-install-header-dir := $(CONFIG.PREFIX)include/fxlibc
|
||||||
# Installation rules
|
# Installation rules
|
||||||
#---
|
#---
|
||||||
install: $(lib-generation-rules) $(lib-installation-rules)
|
install: $(lib-generation-rules) $(lib-installation-rules)
|
||||||
rm -rf $(lib-install-header-dir)
|
cp -r ../include/fxlibc/ $(lib-install-header-dir)
|
||||||
cp -r ../include $(lib-install-header-dir)
|
|
||||||
|
|
||||||
uninstall: $(lib-uninstallation-rules)
|
uninstall: $(lib-uninstallation-rules)
|
||||||
rm -rf $(lib-install-header-dir)
|
rm -rf $(CONFIG.PREFIX)include/fxlibc
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd_32.h>
|
||||||
.text
|
.text
|
||||||
.global _open
|
.global _open
|
||||||
.type _open, @function
|
.type _open, @function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd_32.h>
|
||||||
.text
|
.text
|
||||||
.global _kill
|
.global _kill
|
||||||
.type _kill, @function
|
.type _kill, @function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd_32.h>
|
||||||
.text
|
.text
|
||||||
.global _signal
|
.global _signal
|
||||||
.type _signal, @function
|
.type _signal, @function
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <stdio.h>
|
#include <fxlibc/stdio.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** The function dprintf() is the same as fprintf() except that it outputs to a
|
** The function dprintf() is the same as fprintf() except that it outputs to a
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <stdio.h>
|
#include <fxlibc/stdio.h>
|
||||||
|
|
||||||
// internal depency
|
// internal depency
|
||||||
// TODO: update path detection
|
// TODO: update path detection
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <stdio.h>
|
#include <fxlibc/stdio.h>
|
||||||
|
|
||||||
// internal depency
|
// internal depency
|
||||||
// TODO: update path detection
|
// TODO: update path detection
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <stdio.h>
|
#include <fxlibc/stdio.h>
|
||||||
|
|
||||||
// internal depency
|
// internal depency
|
||||||
// TODO: update path detection
|
// TODO: update path detection
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include <stdio.h>
|
#include <fxlibc/stdio.h>
|
||||||
#include <unistd.h>
|
#include <fxlibc/unistd.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** printf() write the output under the control of a format string that specifies
|
** printf() write the output under the control of a format string that specifies
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#include <stdio.h>
|
#include <fxlibc/stdio.h>
|
||||||
#include <unistd.h>
|
#include <fxlibc/unistd.h>
|
||||||
|
|
||||||
int putc(int c)
|
int putchar(int c)
|
||||||
{
|
{
|
||||||
char n;
|
char n;
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include <stdio.h>
|
#include <fxlibc/stdio.h>
|
||||||
#include <string.h>
|
#include <fxlibc/string.h>
|
||||||
#include <unistd.h>
|
#include <fxlibc/unistd.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** puts() writes the string s and a trailing newline to stdout.
|
** puts() writes the string s and a trailing newline to stdout.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <stdio.h>
|
#include <fxlibc/stdio.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** sprintf(), snprintf(), vsprintf() and vsnprintf() write the output under the
|
** sprintf(), snprintf(), vsprintf() and vsnprintf() write the output under the
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <stdio.h>
|
#include <fxlibc/stdio.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** sprintf(), snprintf(), vsprintf() and vsnprintf() write the output under the
|
** sprintf(), snprintf(), vsprintf() and vsnprintf() write the output under the
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include <stdio.h>
|
#include <fxlibc/stdio.h>
|
||||||
#include <unistd.h>
|
#include <fxlibc/unistd.h>
|
||||||
|
|
||||||
// internal depency
|
// internal depency
|
||||||
// TODO: update path detection
|
// TODO: update path detection
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <stdio.h>
|
#include <fxlibc/stdio.h>
|
||||||
|
|
||||||
// internal depency
|
// internal depency
|
||||||
// TODO: update path detection
|
// TODO: update path detection
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <stdio.h>
|
#include <fxlibc/stdio.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** The functions vsprintf() are equivalent to the sprintf() except that they
|
** The functions vsprintf() are equivalent to the sprintf() except that they
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd_32.h>
|
||||||
.text
|
.text
|
||||||
.global _free
|
.global _free
|
||||||
.type _free, @function
|
.type _free, @function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd_32.h>
|
||||||
.text
|
.text
|
||||||
.global _malloc
|
.global _malloc
|
||||||
.type _malloc, @function
|
.type _malloc, @function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd_32.h>
|
||||||
.text
|
.text
|
||||||
.global _realloc
|
.global _realloc
|
||||||
.type _realloc, @function
|
.type _realloc, @function
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include <stdlib.h>
|
#include <fxlibc/stdlib.h>
|
||||||
#include <string.h>
|
#include <fxlibc/string.h>
|
||||||
#include <unistd.h>
|
#include <fxlibc/unistd.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** The calloc() function allocates memory for an array of nmemb elements of size
|
** The calloc() function allocates memory for an array of nmemb elements of size
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <stdlib.h>
|
#include <fxlibc/stdlib.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** The reallocarray() function changes the size of the memory block pointed to
|
** The reallocarray() function changes the size of the memory block pointed to
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <string.h>
|
#include <fxlibc/string.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** The memcpy() function copies n bytes from memory area src to memory area dest.
|
** The memcpy() function copies n bytes from memory area src to memory area dest.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <string.h>
|
#include <fxlibc/string.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** The memset() function fills the first n bytes of the memory area pointed to
|
** The memset() function fills the first n bytes of the memory area pointed to
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <string.h>
|
#include <fxlibc/string.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** The strcat() function appends the src string to the dest string,
|
** The strcat() function appends the src string to the dest string,
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <string.h>
|
#include <fxlibc/string.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** The strchr() function returns a pointer to the first occurrence of the
|
** The strchr() function returns a pointer to the first occurrence of the
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <string.h>
|
#include <fxlibc/string.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** The strcmp() function compares the two strings s1 and s2. The locale is not
|
** The strcmp() function compares the two strings s1 and s2. The locale is not
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <string.h>
|
#include <fxlibc/string.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** The strcpy() function copies the string pointed to by src, including the
|
** The strcpy() function copies the string pointed to by src, including the
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include <string.h>
|
#include <fxlibc/string.h>
|
||||||
#include <stdlib.h>
|
#include <fxlibc/stdlib.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** The strdup() function returns a pointer to a new string which is a
|
** The strdup() function returns a pointer to a new string which is a
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#include <string.h>
|
#include <fxlibc/string.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** The strlen() function calculates the length of the string pointed to by s,
|
** The strlen() function calculates the length of the string pointed to by s,
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd.h>
|
||||||
.text
|
.text
|
||||||
.global _wait
|
.global _wait
|
||||||
.type _wait, @function
|
.type _wait, @function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd.h>
|
||||||
.text
|
.text
|
||||||
.global _waitpid
|
.global _waitpid
|
||||||
.type _waitpid, @function
|
.type _waitpid, @function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include <threads.h>
|
#include <fxlibc/threads.h>
|
||||||
#include <unistd.h>
|
#include <fxlibc/unistd.h>
|
||||||
|
|
||||||
// Creates a new mutex object with type __TYPE.
|
// Creates a new mutex object with type __TYPE.
|
||||||
// @note: If successful the new object is pointed by __MUTEX.
|
// @note: If successful the new object is pointed by __MUTEX.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#ifdef __SUPPORT_CASIO_ABI_FX9860G
|
#ifdef __SUPPORT_CASIO_ABI_FX9860G
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd_32.h>
|
||||||
#include <asm-casio/__trapa.h>
|
#include <fxlibc/asm-casio/__trapa.h>
|
||||||
.text
|
.text
|
||||||
.global _close
|
.global _close
|
||||||
.type _close, @function
|
.type _close, @function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd.h>
|
||||||
.text
|
.text
|
||||||
.global _close
|
.global _close
|
||||||
.type _close, @function
|
.type _close, @function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd.h>
|
||||||
.text
|
.text
|
||||||
.global _fork_execve
|
.global _fork_execve
|
||||||
.type _fork_execve, @function
|
.type _fork_execve, @function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd.h>
|
||||||
.text
|
.text
|
||||||
.global _getpgid
|
.global _getpgid
|
||||||
.type _getpgid, @function
|
.type _getpgid, @function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd.h>
|
||||||
.text
|
.text
|
||||||
.global _getpid
|
.global _getpid
|
||||||
.type _getpid, @function
|
.type _getpid, @function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd.h>
|
||||||
.text
|
.text
|
||||||
.global _getppid
|
.global _getppid
|
||||||
.type _getppid, @function
|
.type _getppid, @function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd.h>
|
||||||
.text
|
.text
|
||||||
.global _lseek
|
.global _lseek
|
||||||
.type _lseek, @function
|
.type _lseek, @function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd.h>
|
||||||
.text
|
.text
|
||||||
.global _read
|
.global _read
|
||||||
.type _read, @function
|
.type _read, @function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd.h>
|
||||||
.text
|
.text
|
||||||
.global _setpgid
|
.global _setpgid
|
||||||
.type _setpgid, @function
|
.type _setpgid, @function
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#ifdef __SUPPORT_VHEX_KERNEL
|
#ifdef __SUPPORT_VHEX_KERNEL
|
||||||
#include <asm/unistd_32.h>
|
#include <fxlibc/asm/unistd.h>
|
||||||
.text
|
.text
|
||||||
.global _write
|
.global _write
|
||||||
.type _write, @function
|
.type _write, @function
|
||||||
|
|
Loading…
Reference in a new issue