aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-08-05 14:25:24 +0200
committerGitHub <[email protected]>2019-08-05 14:25:24 +0200
commitd07ee17021977d38ce41267732baf4ab646fdec7 (patch)
tree56b5e9c2b9cc4043017e630294a73b7c0c62575f
parent29f9e7161f7245f5cd3b21cfb92b11769053d444 (diff)
parenteb0f74a6281eb7498d36a2ed5d15c442057aa1b2 (diff)
downloadotp-d07ee17021977d38ce41267732baf4ab646fdec7.tar.gz
otp-d07ee17021977d38ce41267732baf4ab646fdec7.tar.bz2
otp-d07ee17021977d38ce41267732baf4ab646fdec7.zip
Merge pull request #2333 from matwey/fix_ethr_x86_cpuid_asm/OTP-15971
erts: Do not use named no_cpuid label in asm
-rw-r--r--erts/lib_src/pthread/ethread.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/lib_src/pthread/ethread.c b/erts/lib_src/pthread/ethread.c
index b4b12fcd86..b567ed81b0 100644
--- a/erts/lib_src/pthread/ethread.c
+++ b/erts/lib_src/pthread/ethread.c
@@ -208,9 +208,9 @@ ethr_x86_cpuid__(int *eax, int *ebx, int *ecx, int *edx)
"popl %%eax\n\t"
"movl $0x0, %0\n\t"
"xorl %%ecx, %%eax\n\t"
- "jz no_cpuid\n\t"
+ "jz 1f\n\t"
"movl $0x1, %0\n\t"
- "no_cpuid:\n\t"
+ "1:\n\t"
: "=r"(have_cpuid)
:
: "%eax", "%ecx", "cc");