require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&ECOFF_LDPGSZ)) {
    sub ECOFF_LDPGSZ () {	4096;}
}
unless(defined(&ECOFF_PAD)) {
    sub ECOFF_PAD () {	'u_short bldrev';;}
}
unless(defined(&ECOFF_MACHDEP)) {
    sub ECOFF_MACHDEP () {	'u_int'  &gprmask; 'u_int'  &fprmask; 'u_long gp_value';}
}
unless(defined(&ECOFF_MAGIC_ALPHA)) {
    sub ECOFF_MAGIC_ALPHA () {	0603;}
}
unless(defined(&ECOFF_MAGIC_NATIVE_ALPHA)) {
    sub ECOFF_MAGIC_NATIVE_ALPHA () {	0605;}
}
unless(defined(&ECOFF_BADMAG)) {
    sub ECOFF_BADMAG {
	my($ep) = @_;
	eval q((($ep)-> ($f->{f_magic}) !=  &ECOFF_MAGIC_ALPHA  && ($ep)-> ($f->{f_magic}) !=  &ECOFF_MAGIC_NATIVE_ALPHA));
    }
}
unless(defined(&ECOFF_FLAG_EXEC)) {
    sub ECOFF_FLAG_EXEC () {	0002;}
}
unless(defined(&ECOFF_SEGMENT_ALIGNMENT)) {
    sub ECOFF_SEGMENT_ALIGNMENT {
	my($ep) = @_;
	eval q(((($ep)-> ($f->{f_flags}) &  &ECOFF_FLAG_EXEC) == 0? 8: 16));
    }
}
unless(defined(&ECOFF_FLAG_OBJECT_TYPE_MASK)) {
    sub ECOFF_FLAG_OBJECT_TYPE_MASK () {	0x3000;}
}
unless(defined(&ECOFF_OBJECT_TYPE_NO_SHARED)) {
    sub ECOFF_OBJECT_TYPE_NO_SHARED () {	0x1000;}
}
unless(defined(&ECOFF_OBJECT_TYPE_SHARABLE)) {
    sub ECOFF_OBJECT_TYPE_SHARABLE () {	0x2000;}
}
unless(defined(&ECOFF_OBJECT_TYPE_CALL_SHARED)) {
    sub ECOFF_OBJECT_TYPE_CALL_SHARED () {	0x3000;}
}
if(defined(&_KERNEL)) {
}
1;
