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.26-506-g0c609d1


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  0c609d19e33f0ee70dbe2fba04d2ea75d3dcbd14 (commit)
      from  c34a19ed4b0bcf91ff9671b733f8cfffa111e7f6 (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=0c609d19e33f0ee70dbe2fba04d2ea75d3dcbd14

commit 0c609d19e33f0ee70dbe2fba04d2ea75d3dcbd14
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Tue Oct 3 17:47:40 2017 -0700

    mips: Don't check _DYNAMIC in elf_machine_load_address
    
    Since mips can't convert access _DYNAMIC via GOT, which needs dynamic
    relocation, to PC-relative at link-time, don't check _DYNAMIC in
    elf_machine_load_address.
    
            * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
            check _DYNAMIC.

diff --git a/ChangeLog b/ChangeLog
index b16d4a5..581a926 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2017-10-03  H.J. Lu  <hongjiu.lu@intel.com>
 
+	* sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
+	check _DYNAMIC.
+
+2017-10-03  H.J. Lu  <hongjiu.lu@intel.com>
+
 	* sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
 	check _DYNAMIC.
 
diff --git a/sysdeps/mips/dl-machine.h b/sysdeps/mips/dl-machine.h
index b4fee49..da9d633 100644
--- a/sysdeps/mips/dl-machine.h
+++ b/sysdeps/mips/dl-machine.h
@@ -147,11 +147,6 @@ elf_machine_dynamic (void)
 static inline ElfW(Addr)
 elf_machine_load_address (void)
 {
-#ifndef SHARED
-  extern ElfW(Dyn) _DYNAMIC[] __attribute__((weak, visibility ("hidden")));
-  if (!_DYNAMIC)
-    return 0;
-#endif
   ElfW(Addr) addr;
 #ifndef __mips16
   asm ("	.set noreorder\n"

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

Summary of changes:
 ChangeLog                 |    5 +++++
 sysdeps/mips/dl-machine.h |    5 -----
 2 files changed, 5 insertions(+), 5 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]