This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: .machine pseudo op for ppc
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Alan Modra <amodra at bigpond dot net dot au>
- Cc: Anton Blanchard <anton at samba dot org>, binutils at sources dot redhat dot com
- Date: 21 Nov 2003 11:32:00 -0800
- Subject: Re: .machine pseudo op for ppc
- References: <20031121150414.GK2900@bubble.sa.bigpond.net.au>
Alan Modra <amodra@bigpond.net.au> writes:
> I was going to do this using .cpu, but .machine is apparently already
> used on other ppc assemblers.
>
> gas/ChangeLog
> * config/tc-ppc.c (parse_cpu): New function, broken out from..
> (md_parse_option): ..here.
> (ppc_setup_opcodes): New function, broken out from..
> (md_begin): ..here.
> (ppc_machine): Implement .machine pseudo op.
>
> gas/testsuite/ChangeLog
> * gas/ppc/machine.s: New.
> * gas/ppc/machine.d: New.
> * gas/ppc/ppc.exp: Run it.
Shouldn't there be documentation for the new directive somewhere?
--
- Geoffrey Keating <geoffk@geoffk.org>