On Thu, Feb 07, 2013 at 12:49:03PM +0100, Richard Biener wrote: > It should be possible to add a -msavres-inline switch, right?
Sure, but doesn't rs6000 have enough options already? Perhaps the best solution would be to move __do_global_ctors_aux out of crtend.o for targets that support hidden global symbols, but that probably isn't appropriate for gcc's current stage of development. Also, if you're worried about crtbegin.o and crtend.o size, then it would help to throw away call_frame_dummy, call___do_global_ctors_aux, and call___do_global_dtors_aux. Hmm, and we could do that quite easily by defining CRT_CALL_STATIC_FUNCTION. Done! Another 4.9 patch queued. -- Alan Modra Australia Development Lab, IBM