C6X port 10/11: The port

Joseph S. Myers joseph@codesourcery.com
Fri May 13 16:08:00 GMT 2011


On Fri, 13 May 2011, Bernd Schmidt wrote:

> >> +#define PREFERRED_RELOAD_CLASS(x, class) (class)
> > 
> > This macro is being phased out and replaced by a target hook.  In general 
> > any target macro whose only use is in targhooks.c to provide a default 
> > transitional version of a hook should not be defined by a new port; new 
> > ports should define the hooks directly for all macros that are at that 
> > stage in transition to being hooks.
> 
> Any others you spotted? I took care of a few of them earlier
> (PRINT_OPERAND etc.). Maybe we need a poison_warn pragma?

I didn't spot any others.

> >> +GCC_4.5.0 {
> > 
> > 4.7.0 seems more appropriate for a new configuration.
> 
> Even if we also add this to our 4.5 based tree?

Yes.  Backporting

%inherit GCC_4.6.0 GCC_4.5.0
GCC_4.6.0 {
}
%inherit GCC_4.7.0 GCC_4.6.0
GCC_4.7.0 {
}

in libgcc-std.ver is easy.  (The latter isn't yet in trunk, it's added by 
<http://gcc.gnu.org/ml/gcc-patches/2011-04/msg02130.html>; whatever the 
first patch to go in trunk with GCC_4.7.0 symbol versions is needs to add 
it to libgcc-std.ver.)

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Gcc-patches mailing list