From 4723e427b515fdc8d05033474d12b06bb8e65404 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 16 Apr 2012 22:51:44 -0400 Subject: [PATCH] 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 --- ChangeLog.ia64 | 4 ++++ sysdeps/ia64/dl-tls.h | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog.ia64 b/ChangeLog.ia64 index f9469b2a11..1e570b254c 100644 --- a/ChangeLog.ia64 +++ b/ChangeLog.ia64 @@ -1,3 +1,7 @@ +2012-04-27 Mike Frysinger + + * sysdeps/ia64/dl-tls.h (GET_ADDR_PARAM): Define. + 2012-04-27 Mike Frysinger * sysdeps/ia64/bits/byteswap.h (__bswap_16): Removed. 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