C6X port 10/11: The port

Bernd Schmidt bernds@codesourcery.com
Fri May 13 16:00:00 GMT 2011


On 05/13/2011 04:46 PM, Joseph S. Myers wrote:
> There shouldn't be lots of errors; Joern does such builds frequently.  
> Note that you need to start with a *current native trunk compiler* and use 
> that when building the cross compiler; GCC is only expected to build 
> cleanly with -Werror when the build uses the same version of GCC, not when 
> it uses an older release.

Ah ok.

>> +#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?

>> +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?


Bernd



More information about the Gcc-patches mailing list