We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74e7f96 commit fe79046Copy full SHA for fe79046
gcc/config/arc/elf.h
@@ -55,9 +55,9 @@ along with GCC; see the file COPYING3. If not see
55
# endif
56
#endif
57
58
-/* Bare-metal toolchains do not need a thread pointer register. */
+/* Zephyr toolchain use register 25 as a thread pointer register. */
59
#undef TARGET_ARC_TP_REGNO_DEFAULT
60
-#define TARGET_ARC_TP_REGNO_DEFAULT -1
+#define TARGET_ARC_TP_REGNO_DEFAULT 25
61
62
/* Indexed loads are default. */
63
#undef TARGET_INDEXED_LOADS_DEFAULT
0 commit comments