S12X/XGATE gcc/binutils patches (9S12X series)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

S12X/XGATE gcc/binutils patches (9S12X series)

2,184件の閲覧回数
jsmcortina
Contributor III

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.

See:
http://www.msextra.com/tools/s12x-20100504.zip

This contains rolled up patches against.
gcc-3.3.6
binutils-2.18
newlib-1.16-0

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
-msoft-reg-count=5 -mauto
-incdec -fsigned-char -DGCC_BUILD -Wa,-mm9s12x
XFLAGS = -g -Wall -Werror -O -fomit-frame-pointer -m9s12xg -mshort
-msoft-reg-count=5 -maut
o-incdec -fsigned-char -DGCC_BUILD -Wa,-mxgate

XGATE assembly appears functional and tested on MC9S12XEP100

regards

James

ラベル(1)
0 件の賞賛
返信
1 返信

958件の閲覧回数
seank
Contributor I

Or save your self the hastle of all that and go here.  Prebuilt Linux/Win/Mac tools.

 

http://tools.diyefi.org/

S12X Tools

0 件の賞賛
返信