Remove unused macroes. Add user, btrap, etrap, bintr and eintrt in the GPROF case.
Remove unused macroes.
Add user, btrap, etrap, bintr and eintrt in the GPROF case.

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase