]> git.ipfire.org Git - thirdparty/gcc.git/commit
nvptx, libgcc: Stub unwinding implementation
authorThomas Schwinge <tschwinge@baylibre.com>
Wed, 5 Jun 2024 11:11:04 +0000 (13:11 +0200)
committerThomas Schwinge <tschwinge@baylibre.com>
Thu, 6 Jun 2024 11:41:47 +0000 (13:41 +0200)
commita29c5852a606588175d11844db84da0881227100
tree7cbafd86c5cf23a4081a2420afe5f3aa217c0174
parent5bbe5350a0932c78d4ffce292ba4104a6fe6ef96
nvptx, libgcc: Stub unwinding implementation

Adding stub '_Unwind_Backtrace', '_Unwind_GetIPInfo' functions is necessary
for linking libbacktrace, as a normal (non-'LIBGFOR_MINIMAL') configuration
of libgfortran wants to do, for example.

The file 'libgcc/config/nvptx/unwind-nvptx.c' is copied from
'libgcc/config/gcn/unwind-gcn.c'.

libgcc/ChangeLog:

* config/nvptx/t-nvptx: Add unwind-nvptx.c.
* config/nvptx/unwind-nvptx.c: New file.

Co-authored-by: Andrew Stubbs <ams@gcc.gnu.org>
libgcc/config/nvptx/t-nvptx
libgcc/config/nvptx/unwind-nvptx.c [new file with mode: 0644]