Hi! Ping. Minor change in the attached "nvptx: Support global constructors/destructors via 'collect2'": for 'atexit', add '#include ' to 'libgcc/config/nvptx/crt0.c'. Grüße Thomas On 2022-12-02T14:35:35+0100, I wrote: > Hi! > > 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 > "'nm'" and newlib > > "nvptx: Implement '_exit' instead of 'exit'" have been merged; any > comments to those?) > > 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 > > > 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