diff mbox

[v2,3/9] arm,aarch64: Remove SINGLE_THREAD_P_PIC

Message ID 1400890309-16710-4-git-send-email-rth@twiddle.net
State New
Headers show

Commit Message

Richard Henderson May 24, 2014, 12:11 a.m. UTC
From: Richard Henderson <rth@redhat.com>

This macro was removed by

2005-11-16  Daniel Jacobowitz  <dan@codesourcery.com>

but not applied to the (still separate) eabi port so necro'd
when the eabi port superceded the old abi.  It was thence
copied into the new AArch64 port.
---
 sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h | 1 -
 sysdeps/unix/sysv/linux/arm/sysdep-cancel.h          | 1 -
 2 files changed, 2 deletions(-)

Comments

Marcus Shawcroft May 24, 2014, 7:47 a.m. UTC | #1
On 24 May 2014 01:11, Richard Henderson <rth@twiddle.net> wrote:
> From: Richard Henderson <rth@redhat.com>
>
> This macro was removed by
>
> 2005-11-16  Daniel Jacobowitz  <dan@codesourcery.com>
>
> but not applied to the (still separate) eabi port so necro'd
> when the eabi port superceded the old abi.  It was thence
> copied into the new AArch64 port.

... and this time copying the list ....

Patch looks good to me.

/Marcus
diff mbox

Patch

diff --git a/sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h b/sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
index 2d0ae5b..c300b2d 100644
--- a/sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
+++ b/sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
@@ -186,7 +186,6 @@  extern int __local_multiple_threads attribute_hidden;
   cfi_restore (x30);							\
   cfi_adjust_cfa_offset (-16);						\
   cmp	w16, 0
-#   define SINGLE_THREAD_P_PIC(x) SINGLE_THREAD_P
 #  endif
 # endif
 
diff --git a/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h b/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
index 118e6c3..a0a8696 100644
--- a/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
+++ b/sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
@@ -223,7 +223,6 @@  extern int __local_multiple_threads attribute_hidden;
 	cfi_adjust_cfa_offset (-8);					\
 	cfi_restore (lr);						\
 	teq	ip, #0
-#   define SINGLE_THREAD_P_PIC(x) SINGLE_THREAD_P
 #  endif
 # endif