GAS: Handling option parsing for ARM co-processor extensions

Lars Brinkhoff lars.spam@nocrew.org
Tue Jan 15 04:06:00 GMT 2002


Richard Earnshaw <rearnsha@arm.com> writes:
> I've been thinking a bit about how we should handle the option parsing for 
> various ARM co-processor extensions.  Currently we have the highly bogus 
> situation where -marm9e is used to mean "add the Cirrus Maverick 
> instructions": it's bogus because arm9e is a real cpu variant from ARM.
> 
> One way I can think of doing this is to allow syntax along the following 
> lines
> 
> 	-marmX+ext1+...

Why not

        -marmX -mext1

or similar?  This is the approach I've used for PDP-11:

        http://pdp11.nocrew.org/binutils/as-opt.html

-- 
Lars Brinkhoff          http://lars.nocrew.org/     Linux, GCC, PDP-10
Brinkhoff Consulting    http://www.brinkhoff.se/    programming



More information about the Binutils mailing list