remove unneeded __SUPPORT macros

This commit is contained in:
Lephenixnoir 2021-05-09 22:11:49 +02:00
parent e719af2f63
commit f58187c55e
Signed by: Lephenixnoir
GPG Key ID: 1BBA026E13FC0495
20 changed files with 7 additions and 47 deletions

View File

@ -1,5 +1,5 @@
#ifndef __ASM_CASIO_TRAPA_H__
# define __ASM_CASIO_TRAPA_H__
#ifndef __FXLIBC_TARGET_CASIOWIN_CG_TRAPA_H__
# define __FXLIBC_TARGET_CASIOWIN_CG_TRAPA_H__
/*
** Normally the SH3/SH4 processor provide a "trapa" instruction which allow
@ -10,7 +10,6 @@
** The convention whant that the user jump into the syscall trampoline code
** located at 0x80010070 for fx9860g and 0x80020070 for fxcg20/50.
*/
#ifdef __SUPPORT_CASIO_ABI_FXCG50
# define casio_trapa(id) \
mov.l syscall_table, r2 ;\
mov.l syscall_id, r0 ;\
@ -19,6 +18,5 @@
.align 4 ;\
syscall_table: .long 0x80020070 ;\
syscall_id: .long id
#endif
#endif /*__ASM__CASIO_TRAPA_H__*/
#endif /*__FXLIBC_TARGET_CASIOWIN_CG_TRAPA_H__*/

View File

@ -1,5 +1,5 @@
#ifndef __FXLIBC_TARGET_CASIOWIN-FX_TRAPA_H__
# define __FXLIBC_TARGET_CASIOWIN-FX_TRAPA_H__
#ifndef __FXLIBC_TARGET_CASIOWIN_FX_TRAPA_H__
# define __FXLIBC_TARGET_CASIOWIN_FX_TRAPA_H__
/*
** Normally the SH3/SH4 processor provide a "trapa" instruction which allow
@ -10,7 +10,6 @@
** The convention whant that the user jump into the syscall trampoline code
** located at 0x80010070 for fx9860g and 0x80020070 for fxcg20/50.
*/
#ifdef __SUPPORT_CASIO_ABI_FX9860G
# define casio_trapa(id) \
mov.l syscall_table, r2 ;\
mov.l syscall_id, r0 ;\
@ -19,6 +18,5 @@
.align 4 ;\
syscall_table: .long 0x80010070 ;\
syscall_id: .long id
#endif
#endif /*__FXLIBC_TARGET_CASIOWIN-FX_TRAPA_H__*/
#endif /*__FXLIBC_TARGET_CASIOWIN_FX_TRAPA_H__*/

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _kill
@ -17,4 +16,3 @@ _kill:
rts
nop
.end
#endif

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _signal
@ -16,4 +15,3 @@ _signal:
rts
nop
.end
#endif

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _free
@ -20,4 +19,3 @@ _free:
rts
nop
.end
#endif

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _malloc
@ -20,4 +19,3 @@ _malloc:
rts
nop
.end
#endif

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _realloc
@ -40,4 +39,3 @@ call_realloc:
rts
nop
.end
#endif

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _open
@ -18,4 +17,3 @@ _open:
rts
nop
.end
#endif

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _wait
@ -16,4 +15,3 @@ _wait:
rts
nop
.end
#endif

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _waitpid
@ -26,4 +25,3 @@ _waitpid:
rts
nop
.end
#endif

View File

@ -1,6 +1,5 @@
#ifdef __SUPPORT_CASIO_ABI_FX9860G
#include <bits/unistd_32.h>
#include <bits/__trapa.h>
#include <bits/trapa.h>
.text
.global _close
.type _close, @function
@ -17,4 +16,3 @@ _close:
rts
nop
.end
#endif

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _close
@ -16,4 +15,3 @@ _close:
rts
nop
.end
#endif

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _fork_execve
@ -21,4 +20,3 @@ _fork_execve:
rts
nop
.end
#endif

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _getpgid
@ -15,4 +14,3 @@ _getpgid:
rts
nop
.end
#endif

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _getpid
@ -15,4 +14,3 @@ _getpid:
rts
nop
.end
#endif

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _getppid
@ -15,4 +14,3 @@ _getppid:
rts
nop
.end
#endif

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _lseek
@ -18,4 +17,3 @@ _lseek:
rts
nop
.end
#endif

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _read
@ -16,4 +15,3 @@ _read:
rts
nop
.end
#endif

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _setpgid
@ -17,4 +16,3 @@ _setpgid:
rts
nop
.end
#endif

View File

@ -1,4 +1,3 @@
#ifdef __SUPPORT_VHEX_KERNEL
#include <bits/asm/unistd_32.h>
.text
.global _write
@ -16,4 +15,3 @@ _write:
rts
nop
.end
#endif