adding extra target-specific objects to gas

Charles Lepple clepple@ghz.cc
Wed Feb 5 04:47:00 GMT 2003


I'm still playing around with different methods to pull out some of the  
generic TI assembler support out of gas/config/tc-tic54x.c so that it  
can be reused for other TI processor targets.

I experimented with adding to the extra_objects variable in  
gas/configure.in, but since it only specifies object file names, the  
source file has to be in the same directory (and I was going to put  
tc-tidsp.c in gas/config for consistency).

There's a comment to this effect in Makefile.am where the dependencies  
and rules for gas/config/tc-*.[co] are generated (variables  
TARG_CPU_{C,O,H}), and if one of the binutils gurus threw up their  
hands trying to solve a VPATH-related problem, then I'm certainly not  
the one to fix it.

For now I'm going to try and solve the problem with #include, but I'm  
open to other suggestions.

My current kludge is here (requires a symlink to build):

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/c6x-tools/binutils/gas/ 
configure.in.diff?r1=1.1.1.3&r2=1.3&sortby=date

-- 
Charles Lepple <clepple@ghz.cc>
http://www.ghz.cc/charles/



More information about the Binutils mailing list