core changes for mep port
Ian Lance Taylor
iant@google.com
Thu Mar 15 13:57:00 GMT 2007
DJ Delorie <dj@redhat.com> writes:
> > Again my first reaction is whether it is necessary to compile code
> > which runs in two completely different modes in the same
> > compilation. If the functions can't call each other, why do they
> > need to be compiled together?
>
> Why do *any* two functions need to be compiled together? This is very
> much like arm/thumb or mips/mips16, except that the available
> *functionality* changes. So, if you want to have a static function
> that does coprocessor work in an otherwise non-coprocessor source
> file, you have to have a multi-mode compiler.
Yeah, I'm not sure arm/thumb or mips/mips16 are the best examples,
because in those cases we do require separate compilation.
Ian
More information about the Gcc
mailing list