[patch][objc] Do not call assemble_external

Iain Sandoe developer@sandoe-acoustics.co.uk
Wed Mar 21 21:24:00 GMT 2012


Hi Steven,

On 21 Mar 2012, at 21:09, Steven Bosscher wrote:
> There is no reason for the ObjC front end to call assemble_external on
> these symbols, the middle-end handles this just fine via
> add_builtin_function.

Ah, that's the bit I'd yet to figure out ...

> Bootstrapped&tested on powerpc64-unknown-linux-gnu. OK for trunk?
>
> Ciao!
> Steven
>
> objc/
> 	* objc-act (objc_build_ivar_assignment): Do not call  
> assemble_external.
> 	(objc_build_global_assignment): Likewise.
> 	(objc_build_strong_cast_assignment): Likewise.
> 	* objc-next-runtime-abi-01.c: Cleanup commented-out  
> assemble_external.
> 	* objc-next-runtime-abi-02.c: Likewise.
> 	* objc-gnu-runtime-abi-01.c: Likewise.
> <cleanup_objc_assemble_external.diff>

... this would allow us to close PR17982?

... and make progress on PR24777? (I'm not sure where exactly we need  
to go with this one - we have different sets of calls depending on the  
runtime)

Iain



More information about the Gcc-patches mailing list