This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] Add arm .object_arch directive
Paul Koning wrote:
> >>>>> "Ian" == Ian Lance Taylor <iant@google.com> writes:
>
> Ian> Paul Koning <pkoning@equallogic.com> writes:
> >> >>>>> "Paul" == Paul Brook <paul@codesourcery.com> writes:
>
> Paul> The attached patch adds a .object_arch directive which allows
> Paul> the user to override the architecture recorded in the object
> Paul> file.
>
> >> I like that, except that the place I wanted it is MIPS, not ARM.
> >> Any reason why you made it an ARM-specific feature rather than a
> >> general feature?
>
> Ian> MIPS already has this feature, via ".set arch=XXX". Is that
> Ian> insufficient in some way?
>
> As in ".set mips3"? Um... yes, I guess I was not really awake yet.
There's both, ".set mipsN" and ".set arch=XXX", where XXX allows the
-march=XXX values.
Thiemo