diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2019-07-14 03:36:38 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2019-07-14 03:36:38 +0000 |
commit | 79fb9e66b3bc83287fef6ae68c97d779b103fccb (patch) | |
tree | 5d83d020f9798a7bf3d6a41220eaa411a7bc9d66 /lib | |
parent | 710a1d98b412e1a7a85ed4d862410ad9aa6ad606 (diff) |
Unlike gas, clang's assembler complains about duplicate symbol assignments.
Tweak the PSEUDO() macro to avoid that.
problem noted and tested by kettenis@
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/arch/powerpc/SYS.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/arch/powerpc/SYS.h b/lib/libc/arch/powerpc/SYS.h index 0fbe6d54614..5a90d928327 100644 --- a/lib/libc/arch/powerpc/SYS.h +++ b/lib/libc/arch/powerpc/SYS.h @@ -1,4 +1,4 @@ -/* $OpenBSD: SYS.h,v 1.22 2016/05/15 00:15:10 guenther Exp $ */ +/* $OpenBSD: SYS.h,v 1.23 2019/07/14 03:36:37 guenther Exp $ */ /*- * Copyright (c) 1994 * Andrew Cagney. All rights reserved. @@ -113,7 +113,7 @@ __END_HIDDEN(_thread_sys_,x) #define PSEUDO(x,y) ALIAS(_thread_sys_,x) \ PSEUDO_HIDDEN(x,y); \ - __END(_thread_sys_,x) + END(x) #define RSYSCALL(x) PSEUDO(x,x) #define RSYSCALL_HIDDEN(x) PSEUDO_HIDDEN(x,x) |