gas not accepting clang exceptions on powerpc

Alan Modra amodra@gmail.com
Sun Jun 26 14:46:00 GMT 2011


On Sat, Jun 25, 2011 at 08:02:27PM -0700, Peter Lawrence wrote:
> 
> comparing gcc verses clang-llvm assembler output for PowerPC
> (apple-powerbook, OSX 10.4, using installed gcc/gas,
>  gcc -version  -->  4.0.1,   as -version  -->  1.38)
> 
> 
> gas does not complain about differencing two symbols from different
> sections
> in a ".long" directive, but does complain when first defining that
> difference as
> a symbol name.
> 
> Is this really the way gas is supposed to work, or is this version
> of gas too old, or what ---?

This is not the way gas works currently.  I don't know the history of
your Apple software but suspect what you have is not the original
1.38.  Please ask this of Apple.  FSF gas 1.38 is 20 years old.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list