musl-cross-make/patches/gcc-14.3.0/0007-fdpic-unwind.diff
userdocs b337fe6d1d add support for gcc 14.3.0
This adds the patches from the previously tested gcc version 14.2.0
and they have been tested to successfully apply to 14.3.0 with no
issues. The libquadmath patch for GCC issue 116007 is not copied over
because it has already been applied upstream.

The corresponding hash has been added.
2025-07-21 00:17:59 +00:00

12 lines
370 B
Diff

--- a/libgcc/unwind-pe.h 2024-03-14 05:59:53.754073149 +0900
+++ b/libgcc/unwind-pe.h 2024-03-14 06:00:41.226074492 +0900
@@ -262,7 +262,7 @@
if (result != 0)
{
-#if __FDPIC__
+#if __FDPIC__ && __arm__
/* FDPIC relative addresses imply taking the GOT address
into account. */
if ((encoding & DW_EH_PE_pcrel) && (encoding & DW_EH_PE_indirect))