$T_HDR_vector = "\.text\n\t\.align 8\n";
#--------------------------------------------------------#
- } elsif ( $TargetPlatform =~ /^x86_64-.*-(linux|openbsd|freebsd)$/m ) {
+ } elsif ( $TargetPlatform =~ /^x86_64-.*-(linux|openbsd|freebsd|netbsd)$/m ) {
$T_STABBY = 0; # 1 iff .stab things (usually if a.out format)
$T_US = ''; # _ if symbols have an underscore on the front
#--------------------------------------------------------#
} elsif ( $TargetPlatform =~ /^i386-apple-darwin.*/m ) {
- # Apple PowerPC Darwin/MacOS X.
+ # Apple i386 Darwin/MacOS X.
$T_STABBY = 0; # 1 iff .stab things (usually if a.out format)
$T_US = '_'; # _ if symbols have an underscore on the front
$T_PRE_APP = 'DOESNT APPLY'; # regexp that says what comes before APP/NO_APP
#--------------------------------------------------------#
} elsif ( $TargetPlatform =~ /^x86_64-apple-darwin.*/m ) {
- # Apple PowerPC Darwin/MacOS X.
+ # Apple amd64 Darwin/MacOS X.
$T_STABBY = 0; # 1 iff .stab things (usually if a.out format)
$T_US = '_'; # _ if symbols have an underscore on the front
$T_PRE_APP = 'DOESNT APPLY'; # regexp that says what comes before APP/NO_APP
next if /${T_PRE_APP}(NO_)?APP/om;
next if /^;/m && $TargetPlatform =~ /^hppa/m;
- next if /(^$|^\t\.file\t|^ # )/m && $TargetPlatform =~ /^(mips|ia64)-/m;
+ next if /(^$|^\t\.file\t|^ # )/m && $TargetPlatform =~ /(^mips-|^ia64-|-mingw32$)/m;
if ( $TargetPlatform =~ /^mips-/m
&& /^\t\.(globl\S+\.text|comm\t)/m ) {