summaryrefslogtreecommitdiff
path: root/plan9/genconfig.pl
diff options
context:
space:
mode:
authorLuther Huffman <lutherh@infinet.com>1996-11-18 18:06:37 +1200
committerChip Salzenberg <chip@atlantic.net>1996-11-19 14:16:00 +1200
commit16da7c01952bf5f7750f4358fd0efd623fed30eb (patch)
treeb989bc9bd045dda1283ba5fd56382c740a423239 /plan9/genconfig.pl
parent702887b4a5a2910b8748d5548b600d2dfe870f32 (diff)
downloadperl-16da7c01952bf5f7750f4358fd0efd623fed30eb.tar.gz
Plan 9 update
Diffstat (limited to 'plan9/genconfig.pl')
-rw-r--r--plan9/genconfig.pl17
1 files changed, 9 insertions, 8 deletions
diff --git a/plan9/genconfig.pl b/plan9/genconfig.pl
index edcaf338db..c23bd885b6 100644
--- a/plan9/genconfig.pl
+++ b/plan9/genconfig.pl
@@ -82,7 +82,6 @@ eunicefix=':'
hint='none'
hintfile=''
intsize='4'
-alignbytes='8'
shrplib='define'
usemymalloc='n'
usevfork='true'
@@ -127,24 +126,26 @@ print OUT "siglongjmp='siglongjmp(buf,retval) '\n";
print OUT "exe_ext=''\n";
if ($p9p_objtype eq '386') {
$objext = '.8';
+ $alignbytes = '4';
+ $cstflags = 2;
}
elsif ($p9p_objtype eq '68020') {
$objext = '.2';
+ $alignbytes = '2';
+ $cstflags = 0;
}
elsif ($p9p_objtype eq 'mips') {
$objext = '.v';
+ $alignbytes = '8';
+ $cstflags = 0;
}
elsif ($p9p_objtype eq 'sparc') {
$objext = '.k';
-}
-print OUT "obj_ext='$objext'\n";
-
-if ($p9p_objtype eq '386') {
- $cstflags = 2;
-}
-else {
+ $alignbytes = '4';
$cstflags = 0;
}
+print OUT "obj_ext='$objext'\n";
+print OUT "alignbytes='$alignbytes'\n";
print OUT "castflags='$cstflags'\n";
$myname = $ENV{'site'} ;