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.17-861-ged0257f


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  ed0257f7d3378ec4a72e297f0dcba5159f2dd138 (commit)
       via  03ea4d9b6916857e3c2a021f55d2a853cb837398 (commit)
      from  fe114d206479a36369d732ea260e81a686fdbb0b (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=ed0257f7d3378ec4a72e297f0dcba5159f2dd138

commit ed0257f7d3378ec4a72e297f0dcba5159f2dd138
Author: Marcus Shawcroft <marcus.shawcroft@linaro.org>
Date:   Fri Jun 28 11:27:26 2013 +0100

    [AArch64] Adjust elf_machine_dynamic to find _DYNAMIC via _GLOBAL_OFFSET_TABLE_

diff --git a/ports/ChangeLog.aarch64 b/ports/ChangeLog.aarch64
index 25424bb..2527621 100644
--- a/ports/ChangeLog.aarch64
+++ b/ports/ChangeLog.aarch64
@@ -1,5 +1,10 @@
 2013-06-28  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
 
+	* sysdeps/aarch64/dl-machine.h (elf_machine_dynamic): De-reference
+	_GLOBAL_OFFSET_TABLE_.
+
+2013-06-28  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
+
 	* sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Simplify
 	oPSTATE initialization.
 
diff --git a/ports/sysdeps/aarch64/dl-machine.h b/ports/sysdeps/aarch64/dl-machine.h
index c91b0c4..71dd6b3 100644
--- a/ports/sysdeps/aarch64/dl-machine.h
+++ b/ports/sysdeps/aarch64/dl-machine.h
@@ -36,8 +36,8 @@ elf_machine_matches_host (const ElfW(Ehdr) *ehdr)
 static inline ElfW(Addr) __attribute__ ((unused))
 elf_machine_dynamic (void)
 {
-  ElfW(Addr) addr = (ElfW(Addr)) &_DYNAMIC;
-  return addr;
+  extern const ElfW(Addr) _GLOBAL_OFFSET_TABLE_[] attribute_hidden;
+  return _GLOBAL_OFFSET_TABLE_[0];
 }
 
 /* Return the run-time load address of the shared object.  */

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

commit 03ea4d9b6916857e3c2a021f55d2a853cb837398
Author: Marcus Shawcroft <marcus.shawcroft@linaro.org>
Date:   Fri Jun 28 11:23:58 2013 +0100

    [AArch64] Simplify getcontext pstate initialization.

diff --git a/ports/ChangeLog.aarch64 b/ports/ChangeLog.aarch64
index 8119c42..25424bb 100644
--- a/ports/ChangeLog.aarch64
+++ b/ports/ChangeLog.aarch64
@@ -1,3 +1,8 @@
+2013-06-28  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
+
+	* sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Simplify
+	oPSTATE initialization.
+
 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
 	* sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist:
diff --git a/ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S b/ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S
index c370957..2ba4804 100644
--- a/ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S
+++ b/ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S
@@ -54,8 +54,7 @@ ENTRY(__getcontext)
 	str     x2, [x0, oSP]
 
 	/* Initialize the pstate.  */
-	mov	x3, #0
-	str	x3, [x0, oPSTATE]
+	str	xzr, [x0, oPSTATE]
 
 	/* Figure out where to place the first context extension
 	   block.  */

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

Summary of changes:
 ports/ChangeLog.aarch64                            |   10 ++++++++++
 ports/sysdeps/aarch64/dl-machine.h                 |    4 ++--
 ports/sysdeps/unix/sysv/linux/aarch64/getcontext.S |    3 +--
 3 files changed, 13 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]