aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul E. Murphy <murphyp@linux.vnet.ibm.com>2016-01-20 10:33:19 -0600
committerMike Frysinger <vapier@gentoo.org>2016-03-07 11:45:09 -0500
commit78b80a22769f07fcd83763d5b8b3625fe4920574 (patch)
tree7644b9c4cbf019989d6ff0961cbb0fe1e9b9d76f
parente012eafca47020da292f828fe128f3aca50026e1 (diff)
downloadglibc-78b80a22769f07fcd83763d5b8b3625fe4920574.tar
glibc-78b80a22769f07fcd83763d5b8b3625fe4920574.tar.gz
glibc-78b80a22769f07fcd83763d5b8b3625fe4920574.tar.bz2
glibc-78b80a22769f07fcd83763d5b8b3625fe4920574.zip
powerpc: Fix macro usage of htm builtins
Some extraneous semicolons were included in a recent patch which causes a build failure with newer compilers. (cherry picked from commit af8ea0f449af7d3847351a4a5bafcd435a22ac31) (cherry picked from commit a33d347c181cfa0d84c37e9961ebf030495ed248)
-rw-r--r--sysdeps/unix/sysv/linux/powerpc/htm.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/powerpc/htm.h b/sysdeps/unix/sysv/linux/powerpc/htm.h
index f9a25874ff..7b49817710 100644
--- a/sysdeps/unix/sysv/linux/powerpc/htm.h
+++ b/sysdeps/unix/sysv/linux/powerpc/htm.h
@@ -128,9 +128,9 @@
# ifdef __TM_FENCE__
/* New GCC behavior. */
-# define __libc_tbegin(R) __builtin_tbegin (R);
-# define __libc_tend(R) __builtin_tend (R);
-# define __libc_tabort(R) __builtin_tabort (R);
+# define __libc_tbegin(R) __builtin_tbegin (R)
+# define __libc_tend(R) __builtin_tend (R)
+# define __libc_tabort(R) __builtin_tabort (R)
# else
/* Workaround an old GCC behavior. Earlier releases of GCC 4.9 and 5.0,
didn't use to treat __builtin_tbegin, __builtin_tend and