chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
volume_id: provide libvolume_id.a file
[elogind.git]
/
klibc
/
klibc
/
arch
/
i386
/
sysstub.ph
diff --git
a/klibc/klibc/arch/i386/sysstub.ph
b/klibc/klibc/arch/i386/sysstub.ph
index 1ba7f36bac989af51cdb4457ac48730242fecf84..e2649e283e75a602b873b1b259da053b853fdea8 100644
(file)
--- a/
klibc/klibc/arch/i386/sysstub.ph
+++ b/
klibc/klibc/arch/i386/sysstub.ph
@@
-5,10
+5,10
@@
# Script to generate system call stubs
#
# Script to generate system call stubs
#
-sub make_sysstub($$$$@) {
- my($fname, $type, $sname, $stype, @args) = @_;
+sub make_sysstub($$$$
$
@) {
+ my($
outputdir, $
fname, $type, $sname, $stype, @args) = @_;
- open(OUT, '>', "
syscalls
/${fname}.S");
+ open(OUT, '>', "
${outputdir}
/${fname}.S");
print OUT "#include <asm/unistd.h>\n";
print OUT "\n";
print OUT "\t.type ${fname},\@function\n";
print OUT "#include <asm/unistd.h>\n";
print OUT "\n";
print OUT "\t.type ${fname},\@function\n";