Hi! On 2022-12-02T14:35:35+0100, I wrote: > On 2022-12-01T22:13:38+0100, I wrote: >> I'm working on support for global constructors/destructors with >> GCC/nvptx > > See "nvptx: Support global constructors/destructors via 'collect2'" > attached; OK to push? (... with 'gcc/doc/install.texi' accordingly > updated once <https://github.com/MentorEmbedded/nvptx-tools/pull/40> > "'nm'" and newlib > <https://inbox.sourceware.org/newlib/878rjqaku5....@dem-tschwing-1.ger.mentorg.com/> > "nvptx: Implement '_exit' instead of 'exit'" have been merged; any > comments to those?)
For now pushed to devel/omp/gcc-12 branch in commit fe07b0003bb2092bc34d4bed504be1868b88782d "nvptx: Support global constructors/destructors via 'collect2'", see attached. > Per my quick scanning of 'gcc/config.gcc' history, for more than two > decades, there was a clear trend to remove 'use_collect2=yes' > configurations; now finally a new one is being added -- making sure we're > not slowly dispensing with the need for the early 1990s piece of work > that 'gcc/collect2*' is... ;'-P (I still find that "notable" and "funny" in a certain way.) ;-* Grüße Thomas ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955