chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] klibc: version 1.0.6
[elogind.git]
/
klibc
/
klibc
/
arch
/
ppc64
/
sysstub.ph
diff --git
a/klibc/klibc/arch/ppc64/sysstub.ph
b/klibc/klibc/arch/ppc64/sysstub.ph
index 0a379158e1c8264150db91f137fb3e57861ee9ab..9ee93701f6faecdd7ce5f7c9f01cde7c5f184a53 100644
(file)
--- a/
klibc/klibc/arch/ppc64/sysstub.ph
+++ b/
klibc/klibc/arch/ppc64/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.globl ${fname}\n";
print OUT "#include <asm/unistd.h>\n";
print OUT "\n";
print OUT "\t.globl ${fname}\n";