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]

Re: How to porting gas


   From: Anton Huang <870357@ccl.itri.org.tw>
   Date: Thu, 5 Nov 1998 11:46:14 +0800

   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?

First read gas/doc/internals.texi.  Then see if you have any more
specific questions.

Ian