diff options
author | Paul E. Murphy <murphyp@linux.vnet.ibm.com> | 2016-01-20 10:33:19 -0600 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> | 2016-01-22 14:13:08 -0200 |
commit | af8ea0f449af7d3847351a4a5bafcd435a22ac31 (patch) | |
tree | 5fbab4fc62f5d831779c656dbe7435fc23de544a | |
parent | fba91f123214d5dedccedf8478746e104e0e9820 (diff) | |
download | glibc-af8ea0f449af7d3847351a4a5bafcd435a22ac31.zip glibc-af8ea0f449af7d3847351a4a5bafcd435a22ac31.tar.gz glibc-af8ea0f449af7d3847351a4a5bafcd435a22ac31.tar.bz2 |
powerpc: Fix macro usage of htm builtins
Some extraneous semicolons were included in a
recent patch which causes a build failure with
newer compilers.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | sysdeps/unix/sysv/linux/powerpc/htm.h | 6 |
2 files changed, 10 insertions, 3 deletions
@@ -1,3 +1,10 @@ +2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com> + + * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove + semicolon. + (__libc_tend): Likewise. + (__libc_tabort): Likewise. + 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com> * sysdeps/nios2/libm-test-ulps: Update. diff --git a/sysdeps/unix/sysv/linux/powerpc/htm.h b/sysdeps/unix/sysv/linux/powerpc/htm.h index 16b2237..29cda8a 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 |