]> gcc.gnu.org Git - gcc.git/commit
Make 'libgcc/config/nvptx/crt0.c' build '--without-headers'
authorThomas Schwinge <thomas@codesourcery.com>
Tue, 24 Jan 2023 08:49:34 +0000 (09:49 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Tue, 24 Jan 2023 08:55:37 +0000 (09:55 +0100)
commitd90a8a5685c8bd3657892feac01739fe87a457a5
treef4d92c551effd35d45e2b1d779d19922f6674fe3
parent7bffe9d3e0cd91ccf3ccff9fa71a1d24faae047a
Make 'libgcc/config/nvptx/crt0.c' build '--without-headers'

..., where it currently fails:

    [...]/libgcc/config/nvptx/crt0.c:22:10: fatal error: stdlib.h: No such file or directory
       22 | #include <stdlib.h>
          |          ^~~~~~~~~~

Fix-up for "nvptx: Support global constructors/destructors via 'collect2'".

libgcc/
* config/nvptx/crt0.c [!HAVE_STDLIB_H]: Don't '#include <stdlib.h>'.
(atexit): Prototype.
libgcc/ChangeLog.omp
libgcc/config/nvptx/crt0.c
This page took 0.060888 seconds and 6 git commands to generate.