add option -fmetrowerks-abi (unimplemented)

This commit is contained in:
Wolfgang Thaller 2022-05-14 01:19:16 +02:00
parent 862dd1e941
commit bd4cbc61a6
2 changed files with 5 additions and 1 deletions

View File

@ -1254,6 +1254,9 @@ fabi-compat-version=
C++ ObjC++ Joined RejectNegative UInteger Var(flag_abi_compat_version) Init(-1)
The version of the C++ ABI used for -Wabi warnings and link compatibility aliases.
fmetrowerks-abi
C++ ObjC++ Var(flag_metrowerks_abi)
faccess-control
C++ ObjC++ Var(flag_access_control) Init(1)
Enforce class member access control semantics.

View File

@ -785,7 +785,8 @@ write_mangled_name (const tree decl, bool top_level)
}
else
{
write_string ("_Z");
if (!flag_metrowerks_abi)
write_string ("_Z");
write_encoding (decl);
}
}