mirror of
https://github.com/clearlinux/graphene.git
synced 2026-10-03 23:48:19 +00:00
[GLIBC] remove syscalldb-related source files
This commit is contained in:
committed by
Don Porter
parent
c0c45bc679
commit
ca5155a41e
@@ -1 +0,0 @@
|
||||
../syscallas.S
|
||||
@@ -1 +0,0 @@
|
||||
../syscalldb.c
|
||||
@@ -1,11 +0,0 @@
|
||||
#include <syscalldb.h>
|
||||
|
||||
.weak syscalldb
|
||||
.type syscalldb,@function
|
||||
|
||||
syscalldb:
|
||||
.cfi_startproc
|
||||
syscall
|
||||
retq
|
||||
.cfi_endproc
|
||||
.size syscalldb,.-syscalldb
|
||||
@@ -1,16 +0,0 @@
|
||||
#include "syscalldb.h"
|
||||
#include <stdarg.h>
|
||||
#include <errno.h>
|
||||
|
||||
int register_library (const char * name, unsigned long load_address)
|
||||
__attribute__((weak));
|
||||
|
||||
int register_library (const char * name, unsigned long load_address)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
long int glibc_option (const char * opt)
|
||||
{
|
||||
return -EINVAL;
|
||||
}
|
||||
@@ -1,39 +0,0 @@
|
||||
#ifndef _SYSCALLDB_H_
|
||||
#define _SYSCALLDB_H_
|
||||
|
||||
#ifdef __ASSEMBLER__
|
||||
.weak syscalldb
|
||||
.type syscalldb, @function
|
||||
|
||||
# if defined(PSEUDO) && defined(SYSCALL_NAME) && defined(SYSCALL_SYMBOL)
|
||||
# define SYSCALLDB \
|
||||
subq $128, %rsp; \
|
||||
callq *syscalldb@GOTPCREL(%rip); \
|
||||
addq $128, %rsp
|
||||
# else
|
||||
# define SYSCALLDB \
|
||||
callq *syscalldb@GOTPCREL(%rip)
|
||||
# endif
|
||||
|
||||
#else /* !__ASSEMBLER__ */
|
||||
asm (
|
||||
".weak syscalldb\r\n"
|
||||
".type syscalldb, @function\r\n");
|
||||
|
||||
#define SYSCALLDB \
|
||||
"subq $128, %%rsp\n\t" \
|
||||
"callq *syscalldb@GOTPCREL(%%rip)\n\t" \
|
||||
"addq $128, %%rsp\n\t"
|
||||
|
||||
#define SYSCALLDB_ASM \
|
||||
"callq *syscalldb@GOTPCREL(%rip)\n\t"
|
||||
|
||||
long int glibc_option (const char * opt);
|
||||
|
||||
asm (
|
||||
".weak glibc_option\r\n"
|
||||
".type glibc_option, @function\r\n");
|
||||
|
||||
#endif /* Assembler */
|
||||
|
||||
#endif /* _SYSCALLDB_H */
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../syscalldb.h
|
||||
Reference in New Issue
Block a user