mirror of
https://github.com/systemd/systemd.git
synced 2025-03-19 22:50:17 +03:00
[PATCH] klibc: version 1.0.7
This commit is contained in:
parent
9530f1fe19
commit
d4b6114300
@ -139,8 +139,8 @@ syscalls.nrs: ../include/sys/syscall.h
|
||||
$(CC) $(CFLAGS) -Wp,-dM -x c -E -o $@ $<
|
||||
|
||||
syscalls.dir: SYSCALLS.i syscalls.pl arch/$(ARCH)/sysstub.ph syscommon.h syscalls.nrs
|
||||
rm -rf syscalls
|
||||
mkdir syscalls
|
||||
rm -f syscalls/*.[Ssco] syscalls/*.obj
|
||||
mkdir -p syscalls
|
||||
$(PERL) syscalls.pl SYSCALLS.i arch/$(ARCH)/sysstub.ph $(ARCH) \
|
||||
$(BITSIZE) syscalls.nrs \
|
||||
syscalls ../include/klibc/havesyscall.h
|
||||
@ -150,8 +150,8 @@ syscalls.dir: SYSCALLS.i syscalls.pl arch/$(ARCH)/sysstub.ph syscommon.h syscall
|
||||
: Generated by side effect
|
||||
|
||||
socketcalls.dir: SOCKETCALLS.def socketcalls.pl socketcommon.h
|
||||
rm -rf socketcalls
|
||||
mkdir socketcalls
|
||||
rm -f socketcalls/*.[Ssco] socketcalls/*.obj
|
||||
mkdir -p socketcalls
|
||||
$(PERL) socketcalls.pl SOCKETCALLS.def $(ARCH) socketcalls
|
||||
touch $@
|
||||
|
||||
@ -167,8 +167,8 @@ clean: archclean
|
||||
find . -type f -a \( -name \*.[isoa] -o -name \*.l[iso] \) -print0 | xargs -0rt rm -f
|
||||
rm -f *.a *.so *.hash *.syms *.stripped
|
||||
rm -f $(TESTS) tests/*.stripped
|
||||
rm -rf syscalls syscalls.dir
|
||||
rm -rf socketcalls socketcalls.dir
|
||||
rm -f syscalls/*.[Ssco] syscalls/*.obj syscalls.dir
|
||||
rm -f socketcalls/*.[Ssco] socketcalls/*.obj socketcalls.dir
|
||||
rm -f sha1hash errlist.c
|
||||
|
||||
spotless: clean
|
||||
|
@ -40,7 +40,7 @@ while ( defined($line = <FILE>) ) {
|
||||
push(@cargs, "$arg a".$i++);
|
||||
}
|
||||
$nargs = $i;
|
||||
print " \\\n\tsocketcalls/${name}.o";
|
||||
print " \\\n\t${name}.o";
|
||||
|
||||
if ( $arch eq 'i386' ) {
|
||||
open(OUT, '>', "${outputdir}/${name}.S")
|
||||
@ -61,7 +61,7 @@ while ( defined($line = <FILE>) ) {
|
||||
open(OUT, '>', "${outputdir}/${name}.c")
|
||||
or die "$0: Cannot open ${outputdir}/${name}.c\n";
|
||||
|
||||
print OUT "#include \"socketcommon.h\"\n";
|
||||
print OUT "#include \"../socketcommon.h\"\n";
|
||||
print OUT "\n";
|
||||
print OUT "#ifndef __NR_${name}\n\n";
|
||||
|
||||
|
@ -107,7 +107,7 @@ while ( defined($line = <FILE>) ) {
|
||||
@args = split(/\s*\,\s*/, $argv);
|
||||
|
||||
print HAVESYS "#define _KLIBC_HAVE_SYSCALL_${fname} ${sname}\n";
|
||||
print " \\\n\tsyscalls/${fname}.o";
|
||||
print " \\\n\t${fname}.o";
|
||||
make_sysstub($outputdir, $fname, $type, $sname, $stype, @args);
|
||||
} else {
|
||||
die "$file:$.: Could not parse input: \"$line\"\n";
|
||||
|
@ -1 +1 @@
|
||||
1.0.6
|
||||
1.0.7
|
||||
|
Loading…
x
Reference in New Issue
Block a user