This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

How to porting gas


Dear:
I am now study how to porting GNU-as to a new architecture.
And I also know the following:

The only one thing to modify that porting gas is tc-$machine.c ,
tc-$machine.h , $machine.h
i.e. x86 system, the file are tc-i386.c, tc-i386.h and i386.h

There are something trouble me. If I want to porting, how to modify the file
list above?
i.e. Assume the machine I want to port is xxx, hence the file I need to
create is tc-xxx.c
tc-xxx.h and xxx.h. However what and how do I put in this file? In
additions, what the guts
(format) of these machine dependent file?