powerpc32: Fix syntax error in __GLRO macro

Message ID 87blr14pgz.fsf_-_@igel.home
State Committed
Headers

Commit Message

Andreas Schwab Jan. 17, 2020, 11:45 p.m. UTC
  ---
 sysdeps/powerpc/powerpc32/sysdep.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Tulio Magno Quites Machado Filho Jan. 17, 2020, 11:56 p.m. UTC | #1
Andreas Schwab <schwab@linux-m68k.org> writes:

> diff --git a/sysdeps/powerpc/powerpc32/sysdep.h b/sysdeps/powerpc/powerpc32/sysdep.h
> index 0dee5f2757..2ba009e919 100644
> --- a/sysdeps/powerpc/powerpc32/sysdep.h
> +++ b/sysdeps/powerpc/powerpc32/sysdep.h
> @@ -179,7 +179,7 @@ GOT_LABEL:			;					      \
>  #else
>  /* Position-dependent code does not require access to the GOT.  */
>  # define __GLRO(rOUT, rGOT, member, offset)				\
> -	lis     rOUT,(member+LOWORD)@ha					\
> +	lis     rOUT,(member+LOWORD)@ha;					\
>  	lwz     rOUT,(member+LOWORD)@l(rOUT)
>  #endif	/* PIC */

Thanks!
  

Patch

diff --git a/sysdeps/powerpc/powerpc32/sysdep.h b/sysdeps/powerpc/powerpc32/sysdep.h
index 0dee5f2757..2ba009e919 100644
--- a/sysdeps/powerpc/powerpc32/sysdep.h
+++ b/sysdeps/powerpc/powerpc32/sysdep.h
@@ -179,7 +179,7 @@  GOT_LABEL:			;					      \
 #else
 /* Position-dependent code does not require access to the GOT.  */
 # define __GLRO(rOUT, rGOT, member, offset)				\
-	lis     rOUT,(member+LOWORD)@ha					\
+	lis     rOUT,(member+LOWORD)@ha;					\
 	lwz     rOUT,(member+LOWORD)@l(rOUT)
 #endif	/* PIC */