Re: [PATCH, Darwin] Remove unnecessary target hook.

2018-08-14 Thread Mike Stump
On Aug 13, 2018, at 1:55 PM, Iain Sandoe wrote: > For Darwin when we switch between text sections a linker-visible symbol is > required to preserve the linker’s “atom model”. Some time ago we implemented > TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS to provide this. > > A suitable symbol is now

[PATCH, Darwin] Remove unnecessary target hook.

2018-08-13 Thread Iain Sandoe
Hi For Darwin when we switch between text sections a linker-visible symbol is required to preserve the linker’s “atom model”. Some time ago we implemented TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS to provide this. A suitable symbol is now emitted directly from final.c so the target hook versi