Skip to contentSkip to conversation

exec: Poison Hexagon target-specific definitions

PATCH Applied Philippe Mathieu-Daudé 3 participants 3 messages Feb 19, 2021 – Mar 5, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 exec: Poison Hexagon target-specific definitions

Commit 3e7a84eeccc ("Hexagon build infrastructure") added Hexagon definitions that should be poisoned on target independent device code, but forgot to update "exec/poison.h". Do it now.

---
 include/exec/poison.h | 2 ++
 1 file changed, 2 insertions(+)
include/exec/poison.h +2 -0
index d7ae1f23e71..6bb86f6c2f0 100644
@@ -10,6 +10,7 @@
 #pragma GCC poison TARGET_ALPHA
 #pragma GCC poison TARGET_ARM
 #pragma GCC poison TARGET_CRIS
+#pragma GCC poison TARGET_HEXAGON
 #pragma GCC poison TARGET_HPPA
 #pragma GCC poison TARGET_LM32
 #pragma GCC poison TARGET_M68K
@@ -73,6 +74,7 @@
 #pragma GCC poison CONFIG_CRIS_DIS
 #pragma GCC poison CONFIG_HPPA_DIS
 #pragma GCC poison CONFIG_I386_DIS
+#pragma GCC poison CONFIG_HEXAGON_DIS
 #pragma GCC poison CONFIG_LM32_DIS
 #pragma GCC poison CONFIG_M68K_DIS
 #pragma GCC poison CONFIG_MICROBLAZE_DIS
Signature · 1 line
2.26.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 42 lines

-----Original Message-----
From: Philippe Mathieu-Daudé <[email protected]> On Behalf Of Philippe Mathieu-Daudé
Sent: Friday, February 19, 2021 7:58 AM
To: [email protected]; Richard Henderson <[email protected]>
Cc: Taylor Simpson <[email protected]>; Philippe Mathieu-Daudé <[email protected]>
Subject: [PATCH] exec: Poison Hexagon target-specific definitions

Commit 3e7a84eeccc ("Hexagon build infrastructure") added Hexagon definitions that should be poisoned on target independent device code, but forgot to update "exec/poison.h". Do it now.

---
 include/exec/poison.h | 2 ++
 1 file changed, 2 insertions(+)
include/exec/poison.h +2 -1
index d7ae1f23e71..6bb86f6c2f0 100644
@@ -10,6 +10,7 @@
 #pragma GCC poison TARGET_ALPHA
 #pragma GCC poison TARGET_ARM
 #pragma GCC poison TARGET_CRIS
+#pragma GCC poison TARGET_HEXAGON
 #pragma GCC poison TARGET_HPPA
 #pragma GCC poison TARGET_LM32
 #pragma GCC poison TARGET_M68K
@@ -73,6 +74,7 @@
 #pragma GCC poison CONFIG_CRIS_DIS
 #pragma GCC poison CONFIG_HPPA_DIS
 #pragma GCC poison CONFIG_I386_DIS
+#pragma GCC poison CONFIG_HEXAGON_DIS
 #pragma GCC poison CONFIG_LM32_DIS
 #pragma GCC poison CONFIG_M68K_DIS
 #pragma GCC poison CONFIG_MICROBLAZE_DIS
--
Quoted 1 line

2.26.2