This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch master updated. glibc-2.21-614-g6b96d6d


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  6b96d6de8ccd1c04f172a43d3785960e0a76be3f (commit)
       via  2a6ad8142d14c998e6c5eb51418aac1f598b621e (commit)
      from  e591758b38a606f6197cfdd0f8382fa8397b5e77 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=6b96d6de8ccd1c04f172a43d3785960e0a76be3f

commit 6b96d6de8ccd1c04f172a43d3785960e0a76be3f
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Wed Jul 15 07:40:56 2015 -0400

    hppa/ia64: _dl_unmap: make it hidden
    
    This symbol is only used by DL_UNMAP which in turn is only used by
    _dl_close_worker in dl-close.c, and _dl_close_worker itself is marked
    hidden as it is only used by the ldso.  That means _dl_unmap should
    be marked hidden.  Without this, the elf/check-localplt test fails.

diff --git a/ChangeLog b/ChangeLog
index 47e88ed..1630c1d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
 
+	* sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
+	* sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
+	* sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
+	* sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
+
+2015-07-16  Mike Frysinger  <vapier@gentoo.org>
+
 	* elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
 	* sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
 	rtld_hidden_proto.
diff --git a/sysdeps/hppa/Versions b/sysdeps/hppa/Versions
index 2ae3cbd..c9723b4 100644
--- a/sysdeps/hppa/Versions
+++ b/sysdeps/hppa/Versions
@@ -1,7 +1,7 @@
 ld {
   GLIBC_PRIVATE {
     # hppa specific functions in the dynamic linker, but used by libc.so.
-    _dl_symbol_address; _dl_unmap; _dl_lookup_address;
+    _dl_symbol_address; _dl_lookup_address;
     _dl_function_address;
   }
 }
diff --git a/sysdeps/hppa/dl-lookupcfg.h b/sysdeps/hppa/dl-lookupcfg.h
index cd0d6b1..c36928c 100644
--- a/sysdeps/hppa/dl-lookupcfg.h
+++ b/sysdeps/hppa/dl-lookupcfg.h
@@ -35,7 +35,7 @@ Elf32_Addr _dl_lookup_address (const void *address);
 #define DL_LOOKUP_ADDRESS(addr) \
   (_dl_lookup_address ((void *)((unsigned long)addr & ~3)))
 
-void _dl_unmap (struct link_map *map);
+void attribute_hidden _dl_unmap (struct link_map *map);
 
 #define DL_UNMAP(map) _dl_unmap (map)
 
diff --git a/sysdeps/ia64/Versions b/sysdeps/ia64/Versions
index 56b417d..ac3bff9 100644
--- a/sysdeps/ia64/Versions
+++ b/sysdeps/ia64/Versions
@@ -1,7 +1,7 @@
 ld {
   GLIBC_PRIVATE {
     # ia64 specific functions in the dynamic linker, but used by libc.so.
-    _dl_symbol_address; _dl_unmap; _dl_lookup_address;
+    _dl_symbol_address; _dl_lookup_address;
     _dl_function_address;
   }
 }
diff --git a/sysdeps/ia64/dl-lookupcfg.h b/sysdeps/ia64/dl-lookupcfg.h
index edf2635..3c55e08 100644
--- a/sysdeps/ia64/dl-lookupcfg.h
+++ b/sysdeps/ia64/dl-lookupcfg.h
@@ -36,7 +36,7 @@ extern Elf64_Addr _dl_lookup_address (const void *address);
 
 #define DL_LOOKUP_ADDRESS(addr) _dl_lookup_address (addr)
 
-extern void _dl_unmap (struct link_map *map);
+extern void attribute_hidden _dl_unmap (struct link_map *map);
 
 #define DL_UNMAP(map) _dl_unmap (map)
 

http://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=2a6ad8142d14c998e6c5eb51418aac1f598b621e

commit 2a6ad8142d14c998e6c5eb51418aac1f598b621e
Author: Mike Frysinger <vapier@gentoo.org>
Date:   Wed Jul 15 07:37:47 2015 -0400

    hppa/ia64: _dl_symbol_address: add PLT bypass for rtld
    
    This symbol is defined in the ldso, and is used both there and libc.so.
    There is no hidden symbol for it though which leads to relocations in
    the ldso and the elf/check-localplt test failing.  Add a hidden def for
    rtld to fix all of that.
    
    This function/file is only used by hppa & ia64, so no testing is needed
    for other arches.

diff --git a/ChangeLog b/ChangeLog
index 34b3128..47e88ed 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-07-16  Mike Frysinger  <vapier@gentoo.org>
+
+	* elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
+	* sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
+	rtld_hidden_proto.
+	* sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
+
 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
 	* tst-nodelete-opened.c (do_test): Add comment to clarify how
diff --git a/elf/dl-symaddr.c b/elf/dl-symaddr.c
index 1785382..e18a203 100644
--- a/elf/dl-symaddr.c
+++ b/elf/dl-symaddr.c
@@ -30,3 +30,4 @@ _dl_symbol_address (struct link_map *map, const ElfW(Sym) *ref)
   else
     return (void *) value;
 }
+rtld_hidden_def (_dl_symbol_address)
diff --git a/sysdeps/hppa/dl-lookupcfg.h b/sysdeps/hppa/dl-lookupcfg.h
index 8fcdebd..cd0d6b1 100644
--- a/sysdeps/hppa/dl-lookupcfg.h
+++ b/sysdeps/hppa/dl-lookupcfg.h
@@ -25,6 +25,7 @@
 struct link_map;
 
 void *_dl_symbol_address (struct link_map *map, const ElfW(Sym) *ref);
+rtld_hidden_proto (_dl_symbol_address)
 
 #define DL_SYMBOL_ADDRESS(map, ref) _dl_symbol_address(map, ref)
 
diff --git a/sysdeps/ia64/dl-lookupcfg.h b/sysdeps/ia64/dl-lookupcfg.h
index 8796a71..edf2635 100644
--- a/sysdeps/ia64/dl-lookupcfg.h
+++ b/sysdeps/ia64/dl-lookupcfg.h
@@ -28,6 +28,7 @@
 struct link_map;
 
 extern void *_dl_symbol_address (struct link_map *map, const Elf64_Sym *ref);
+rtld_hidden_proto (_dl_symbol_address)
 
 #define DL_SYMBOL_ADDRESS(map, ref) _dl_symbol_address(map, ref)
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog                   |   14 ++++++++++++++
 elf/dl-symaddr.c            |    1 +
 sysdeps/hppa/Versions       |    2 +-
 sysdeps/hppa/dl-lookupcfg.h |    3 ++-
 sysdeps/ia64/Versions       |    2 +-
 sysdeps/ia64/dl-lookupcfg.h |    3 ++-
 6 files changed, 21 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]