For gcc tool chain users.
I finally fixed up some bugs in my binutils mods and put together a zip of the
patches. There are likely remaining un-noticed bugs.
This contains rolled up patches against.
The patches include Stephane Carrez' patches and add binutils support for the
S12X instructions and XGATE core.
gcc contains a hand coded S12X assembler version of udivsi32 which is faster
than the original C version.
gcc/binutils modified to allow the m9s12x xgate CPU target flags to be passed
but do not otherwise use them.
Typical Makefile likes would be:
CFLAGS = -g -Wall -Werror -O -fomit-frame-pointer -m9s12x -mshort
-incdec -fsigned-char -DGCC_BUILD -Wa,-mm9s12x
XFLAGS = -g -Wall -Werror -O -fomit-frame-pointer -m9s12xg -mshort
o-incdec -fsigned-char -DGCC_BUILD -Wa,-mxgate
XGATE assembly appears functional and tested on MC9S12XEP100