newlib-cygwin/newlib/libc/ssp
Thomas Schwinge 3b58032de1 nvptx: Don't use global constructor for SSP setup
Given that nvptx newlib currently restricts itself to ELIX level 1, this
is not already a problem.  However, in the following we'd like to lift
that restriction, and then run into:

    [...]/newlib/libc/ssp/stack_protector.c: In function ‘__stack_chk_init’:
    [...]/newlib/libc/ssp/stack_protector.c:31:1: sorry, unimplemented: global constructors not supported on this target
       31 | }
          | ^

GCC patch "nvptx: Support global constructors/destructors via 'collect2'"
has been posted, but not yet accepted.  Until that is resolved, use the
same manual SSP setup as for GCN.
2023-01-19 21:51:09 +01:00
..
Makefile.inc newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
chk_fail.c ssp: add Object Size Checking common code 2017-11-29 11:25:39 -06:00
gets_chk.c ssp: add Object Size Checking for stdio.h, part 1 2017-11-29 11:25:42 -06:00
memcpy_chk.c ssp: add Object Size Checking for string.h 2017-11-29 11:25:40 -06:00
memmove_chk.c ssp: add Object Size Checking for string.h 2017-11-29 11:25:40 -06:00
mempcpy_chk.c ssp: add Object Size Checking for string.h 2017-11-29 11:25:40 -06:00
memset_chk.c ssp: add Object Size Checking for string.h 2017-11-29 11:25:40 -06:00
snprintf_chk.c ssp: add Object Size Checking for stdio.h, part 1 2017-11-29 11:25:42 -06:00
sprintf_chk.c ssp: add Object Size Checking for stdio.h, part 1 2017-11-29 11:25:42 -06:00
ssp.tex ssp: add Object Size Checking for wchar.h, part 1 2017-12-04 04:09:46 -06:00
stack_protector.c nvptx: Don't use global constructor for SSP setup 2023-01-19 21:51:09 +01:00
stpcpy_chk.c ssp: add Object Size Checking for string.h 2017-11-29 11:25:40 -06:00
stpncpy_chk.c ssp: add Object Size Checking for string.h 2017-11-29 11:25:40 -06:00
strcat_chk.c ssp: add Object Size Checking for string.h 2017-11-29 11:25:40 -06:00
strcpy_chk.c ssp: add Object Size Checking for string.h 2017-11-29 11:25:40 -06:00
strncat_chk.c ssp: add Object Size Checking for string.h 2017-11-29 11:25:40 -06:00
strncpy_chk.c ssp: add Object Size Checking for string.h 2017-11-29 11:25:40 -06:00
vsnprintf_chk.c ssp: add Object Size Checking for stdio.h, part 1 2017-11-29 11:25:42 -06:00
vsprintf_chk.c ssp: add Object Size Checking for stdio.h, part 1 2017-11-29 11:25:42 -06:00