aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-16 22:51:44 -0400
committerMike Frysinger <vapier@gentoo.org>2012-04-27 23:13:25 -0400
commit4723e427b515fdc8d05033474d12b06bb8e65404 (patch)
treee408655056580b4033ceb809a6bf6f5eb27fa9a1
parent756b23ec1b8c32fc8355beaecbdddada8b1b4402 (diff)
downloadglibc-4723e427b515fdc8d05033474d12b06bb8e65404.tar.xz
glibc-4723e427b515fdc8d05033474d12b06bb8e65404.zip
ia64: add new GET_ADDR_PARAM define
The main tree updated the dl-tls code to use a new GET_ADDR_PARAM macro. We need to define that to fix a build error due to it missing. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--ChangeLog.ia644
-rw-r--r--sysdeps/ia64/dl-tls.h3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog.ia64 b/ChangeLog.ia64
index f9469b2a11..1e570b254c 100644
--- a/ChangeLog.ia64
+++ b/ChangeLog.ia64
@@ -1,5 +1,9 @@
2012-04-27 Mike Frysinger <vapier@gentoo.org>
+ * sysdeps/ia64/dl-tls.h (GET_ADDR_PARAM): Define.
+
+2012-04-27 Mike Frysinger <vapier@gentoo.org>
+
* sysdeps/ia64/bits/byteswap.h (__bswap_16): Removed.
Include <bits/byteswap-16.h> to get __bswap_16.
* sysdeps/ia64/bits/byteswap-16.h: New file.
diff --git a/sysdeps/ia64/dl-tls.h b/sysdeps/ia64/dl-tls.h
index 9e7e7bc50d..1fc35bc7ef 100644
--- a/sysdeps/ia64/dl-tls.h
+++ b/sysdeps/ia64/dl-tls.h
@@ -1,5 +1,5 @@
/* Thread-local storage handling in the ELF dynamic linker. IA-64 version.
- Copyright (C) 2002, 2003, 2011 Free Software Foundation, Inc.
+ Copyright (C) 2002-2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -20,6 +20,7 @@
/* On IA-64 the __tls_get_addr function take the module ID and the
offset as parameters. */
#define GET_ADDR_ARGS size_t m, size_t offset
+#define GET_ADDR_PARAM m, offset
#define GET_ADDR_MODULE m
#define GET_ADDR_OFFSET offset