Rename bits/linkmap.h to linkmap.h (bug 14912).
authorJoseph Myers <joseph@codesourcery.com>
Fri, 4 Sep 2015 19:44:27 +0000 (19:44 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Fri, 4 Sep 2015 19:44:27 +0000 (19:44 +0000)
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>.

ChangeLog
include/link.h
sysdeps/aarch64/linkmap.h [moved from sysdeps/aarch64/bits/linkmap.h with 100% similarity]
sysdeps/arm/linkmap.h [moved from sysdeps/arm/bits/linkmap.h with 100% similarity]
sysdeps/generic/linkmap.h [moved from bits/linkmap.h with 100% similarity]
sysdeps/hppa/linkmap.h [moved from sysdeps/hppa/bits/linkmap.h with 100% similarity]
sysdeps/ia64/linkmap.h [moved from sysdeps/ia64/bits/linkmap.h with 100% similarity]
sysdeps/mips/linkmap.h [moved from sysdeps/mips/bits/linkmap.h with 100% similarity]
sysdeps/s390/linkmap.h [moved from sysdeps/s390/bits/linkmap.h with 100% similarity]
sysdeps/sh/linkmap.h [moved from sysdeps/sh/bits/linkmap.h with 100% similarity]
sysdeps/x86/linkmap.h [moved from sysdeps/x86/bits/linkmap.h with 100% similarity]

index 76bbb73..1db8e31 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,26 @@
+2015-09-04  Joseph Myers  <joseph@codesourcery.com>
+
+       [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>.
+
 2015-09-04  Andreas Schwab  <schwab@suse.de>
 
        [BZ #18635]
index 7e7eb79..e44110c 100644 (file)
@@ -39,7 +39,7 @@ extern unsigned int la_objopen (struct link_map *__map, Lmid_t __lmid,
 
 #include <stdint.h>
 #include <stddef.h>
-#include <bits/linkmap.h>
+#include <linkmap.h>
 #include <dl-fileid.h>
 #include <dl-lookupcfg.h>
 #include <tls.h>
similarity index 100%
rename from bits/linkmap.h
rename to sysdeps/generic/linkmap.h