GCN, nvptx: Basic '__cxa_guard_{acquire,abort,release}' for C++ static local variable...
commitc0bf7ea189ecf252152fe15134f70f576bcd20b2
authorThomas Schwinge <thomas@codesourcery.com>
Wed, 20 Dec 2023 11:27:48 +0000 (20 12:27 +0100)
committerThomas Schwinge <thomas@codesourcery.com>
Sat, 23 Dec 2023 09:10:02 +0000 (23 10:10 +0100)
tree628addb358d1ce94e1b2aea777648ae8fc3e1369
parent079455458e5665330abc9c8b0726b0b11e7016ee
GCN, nvptx: Basic '__cxa_guard_{acquire,abort,release}' for C++ static local variables support

For now, for single-threaded GCN, nvptx target use only; extension for
multi-threaded offloading use is to follow later.  Eventually switch to
libstdc++-v3/libsupc++ proper.

libgcc/
* c++-minimal/README: New.
* c++-minimal/guard.c: New.
* config/gcn/t-amdgcn (LIB2ADD): Add it.
* config/nvptx/t-nvptx (LIB2ADD): Likewise.
libgcc/c++-minimal/README [new file with mode: 0644]
libgcc/c++-minimal/guard.c [new file with mode: 0644]
libgcc/config/gcn/t-amdgcn
libgcc/config/nvptx/t-nvptx