about summary refs log tree commit diff
path: root/sysdeps/aarch64/linkmap.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2015-09-04 19:44:27 +0000
committerJoseph Myers <joseph@codesourcery.com>2015-09-04 19:44:27 +0000
commit522e02ab8a7484881ca8290c6cd245d33867d5d4 (patch)
treee603f77d871f15adcc38643be42b97afffa6e481 /sysdeps/aarch64/linkmap.h
parentb4b522f6108e2116fb806e4f29b25542062dd84b (diff)
downloadglibc-522e02ab8a7484881ca8290c6cd245d33867d5d4.tar.gz
glibc-522e02ab8a7484881ca8290c6cd245d33867d5d4.tar.xz
glibc-522e02ab8a7484881ca8290c6cd245d33867d5d4.zip
Rename bits/linkmap.h to linkmap.h (bug 14912).
It was noted in
<https://sourceware.org/ml/libc-alpha/2012-09/msg00305.html> that the
bits/*.h naming scheme should only be used for installed headers.
This patch renames bits/linkmap.h to plain linkmap.h to follow that
convention.

Tested for x86_64 (testsuite, and that installed stripped shared
libraries are unchanged by the patch).

	[BZ #14912]
	* bits/linkmap.h: Move to ...
	* sysdeps/generic/linkmap.h: ...here.
	* sysdeps/aarch64/bits/linkmap.h: Move to ...
	* sysdeps/aarch64/linkmap.h: ...here.
	* sysdeps/arm/bits/linkmap.h: Move to ...
	* sysdeps/arm/linkmap.h: ...here.
	* sysdeps/hppa/bits/linkmap.h: Move to ...
	* sysdeps/hppa/linkmap.h: ...here.
	* sysdeps/ia64/bits/linkmap.h: Move to ...
	* sysdeps/ia64/linkmap.h: ...here.
	* sysdeps/mips/bits/linkmap.h: Move to ...
	* sysdeps/mips/linkmap.h: ...here.
	* sysdeps/s390/bits/linkmap.h: Move to ...
	* sysdeps/s390/linkmap.h: ...here.
	* sysdeps/sh/bits/linkmap.h: Move to ...
	* sysdeps/sh/linkmap.h: ...here.
	* sysdeps/x86/bits/linkmap.h: Move to ...
	* sysdeps/x86/linkmap.h: ...here.
	* include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
Diffstat (limited to 'sysdeps/aarch64/linkmap.h')
-rw-r--r--sysdeps/aarch64/linkmap.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/sysdeps/aarch64/linkmap.h b/sysdeps/aarch64/linkmap.h
new file mode 100644
index 0000000000..9fed9b3872
--- /dev/null
+++ b/sysdeps/aarch64/linkmap.h
@@ -0,0 +1,23 @@
+/* Copyright (C) 2009-2015 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
+   modify it under the terms of the GNU Lesser General Public License as
+   published by the Free Software Foundation; either version 2.1 of the
+   License, or (at your option) any later version.
+
+   The GNU C Library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
+
+   You should have received a copy of the GNU Lesser General Public
+   License along with the GNU C Library; if not, see
+   <http://www.gnu.org/licenses/>.  */
+
+struct link_map_machine
+{
+  ElfW(Addr) plt;	  /* Address of .plt */
+  void *tlsdesc_table;	  /* Address of TLS descriptor hash table.  */
+};