Toggle default ELF section syntax on SPARC

David Miller davem@davemloft.net
Tue Mar 2 11:50:00 GMT 2010


From: Eric Botcazou <ebotcazou@adacore.com>
Date: Tue, 2 Mar 2010 12:36:45 +0100

> As a follow-up to David's patch, I'm proposing that we toggle the default ELF 
> section syntax on SPARC for GCC 4.5 and above, using the Sun syntax only on 
> Solaris and only with Sun as.
> 
> I've tested the attached patch on Solaris 8/9/10 with GNU as 2.19.1+Sun ld and 
> the results are the same as without it.

It seems that by removing the define from sparc/sysv4.h, the freebsd,
netbsd, etc.  folks will no longer get the setting.



More information about the Gcc-patches mailing list