This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] Add arm .object_arch directive
> Paul> The attached patch adds a .object_arch directive which allows
> Paul> the user to override the architecture recorded in the object
> Paul> file.
>
> Paul> Ok?
>
> 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?
Because all object attribute and architecture selection bits are implemented
in target specific code.
Adding some sort of generic mechanisms for controlling the selected
architecture/cpu is a whole other (much larger) project. I'm not even sure
it's practical given the wide variety of targets binutils supports.
Paul