Reimplement the Python script with a shell one, as
Python is not available in all environments.
This is especially needed in the integration process
of compiler-rt sanitizers into the NetBSD distribution,
where Python is absent and must not be used as a tool.
New script is also designed to be applicable for
cross-building to a different CPU architecture.
It checks the target CPU with file(1) rather than
relying on host's uname value.
No functional change for existing users. The shell
script generates exactly the same result as the
original Python file for all the .syms files on NetBSD.
You still have .py here.