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>
This commit is contained in:
Mike Frysinger 2012-04-16 22:51:44 -04:00
parent 756b23ec1b
commit 4723e427b5
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
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.

View File

@ -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