Skip to content

Commit

Permalink
gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
WinterMute committed May 26, 2024
1 parent f0b0812 commit 2429e9e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dka64/patches/gcc-14.1.0.patch
Original file line number Diff line number Diff line change
Expand Up @@ -75,16 +75,16 @@ index 1beec94629d..90a9ec580f8 100644
}

diff --git a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
index 4fa1dfc7906..085ae3234e6 100644
index 4fa1dfc7906..43a01fe3d56 100644
--- a/gcc/config/aarch64/aarch64.h
+++ b/gcc/config/aarch64/aarch64.h
@@ -1377,6 +1377,10 @@ typedef struct
/* Check TLS Descriptors mechanism is selected. */
#define TARGET_TLS_DESC (aarch64_tls_dialect == TLS_DESCRIPTORS)

+/* Check selected thread pointer access sequence to use. */
+#define TARGET_HARD_TP (aarch64_tpidr_register != AARCH64_TP_SOFT)
+#define TARGET_SOFT_TP (aarch64_tpidr_register == AARCH64_TP_SOFT)
+#define TARGET_HARD_TP (aarch64_tpidr_reg != AARCH64_TP_SOFT)
+#define TARGET_SOFT_TP (aarch64_tpidr_reg == AARCH64_TP_SOFT)
+
extern enum aarch64_code_model aarch64_cmodel;

Expand Down

0 comments on commit 2429e9e

Please sign in to comment.