Hi Richard, Mike,
On 21 Nov 2011, at 00:12, Richard Henderson wrote:
On 11/20/2011 01:27 PM, Iain Sandoe wrote:
comments/OK for trunk?
Iain
gcc:
* config/darwin.h (ENDFILE_SPEC): New.
(DARWIN_CRT1_SPEC): Add crttms.o.
libgcc:
* config/darwin-crt-tm.c: New file.
* config.host (darwin): Build crttms.o crttme.o to provide
startup and shutdown for tm clones.
* config/t-darwin (crttms.o): New build rule.
(crttme.o): New build rule.
Ok by me; Mike will want to look at the Darwin specifics.
Actually, two questions have come to mind overnight;
1. should I be applying this constructor/destructor pair to shared
libraries as well?
(the specs need minor amendment)
2. Mike: I think to append "regular,no_dead_strip" to the section
text, OK to that addition?
thanks
Iain