* [PATCH] AArch64 Resolve warnings for defined but unused _x0 and sc_err symbols.
@ 2012-12-07 12:59 Marcus Shawcroft
0 siblings, 0 replies; only message in thread
From: Marcus Shawcroft @ 2012-12-07 12:59 UTC (permalink / raw)
To: libc-ports
[-- Attachment #1: Type: text/plain, Size: 263 bytes --]
This patch resolves the compiler warnings for defined but unused _x0
and sc_err symbols...
/Marcus
2012-12-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
* sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):
Remove _x0 and sc_err declarations.
[-- Attachment #2: 0003-aarch64-Resolve-sc_err-and-_x0-defined-but-not-used-.patch --]
[-- Type: application/octet-stream, Size: 788 bytes --]
diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h
index 62871d4..67132e3 100644
--- a/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h
+++ b/ports/sysdeps/unix/sysv/linux/aarch64/sysdep.h
@@ -208,12 +208,10 @@ __local_syscall_error: \
__label__ out; \
__label__ iserr; \
long sc_ret; \
- long sc_err; \
INTERNAL_SYSCALL_DECL (sc_err); \
\
if (__vdso_##name != NULL) \
{ \
- register long _x0 asm ("x0"); \
sc_ret = INTERNAL_VSYSCALL_NCS (__vdso_##name, sc_err, nr, ##args); \
if (!INTERNAL_SYSCALL_ERROR_P (sc_ret, sc_err)) \
goto out; \
--
1.7.11.5
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-12-07 12:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-07 12:59 [PATCH] AArch64 Resolve warnings for defined but unused _x0 and sc_err symbols Marcus Shawcroft
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).