LoongArch: Fix macro redefined warning in dl-tlsdesc.S
Checks
Context |
Check |
Description |
redhat-pt-bot/TryBot-32bit |
success
|
Build for i686
|
redhat-pt-bot/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
linaro-tcwg-bot/tcwg_glibc_build--master-arm |
success
|
Build passed
|
linaro-tcwg-bot/tcwg_glibc_build--master-aarch64 |
success
|
Build passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-arm |
success
|
Test passed
|
linaro-tcwg-bot/tcwg_glibc_check--master-aarch64 |
success
|
Test passed
|
Commit Message
Undef macro to avoid redefined warning.
---
sysdeps/loongarch/dl-tlsdesc.S | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
@@ -69,6 +69,15 @@ _dl_tlsdesc_undefweak:
#define Lslow Lslow_lasx
#include "dl-tlsdesc-dynamic.h"
#undef FRAME_SIZE
+#undef FRAME_SIZE_LSX
+#undef FRAME_SIZE_LASX
+#undef FRAME_SIZE_FLOAT
+#undef V_REG_S
+#undef V_REG_L
+#undef V_SPACE
+#undef V_REG
+#undef V_REGS
+#undef V_REGSZ
#undef USE_LASX
#undef _dl_tlsdesc_dynamic
#undef Lret
@@ -80,6 +89,15 @@ _dl_tlsdesc_undefweak:
#define Lslow Lslow_lsx
#include "dl-tlsdesc-dynamic.h"
#undef FRAME_SIZE
+#undef FRAME_SIZE_LSX
+#undef FRAME_SIZE_LASX
+#undef FRAME_SIZE_FLOAT
+#undef V_REG_S
+#undef V_REG_L
+#undef V_SPACE
+#undef V_REG
+#undef V_REGS
+#undef V_REGSZ
#undef USE_LSX
#undef _dl_tlsdesc_dynamic
#undef Lret