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.9000-1090-g1598f3a


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  1598f3ad06db9654a5d112136e40b630649405c3 (commit)
       via  150bbac18bf0af28954bd505793de60f61918b07 (commit)
       via  005055325176500f03fbd64f122bc4de64719c46 (commit)
       via  31a98837be41b03853fcc607e3a7be6b0525a910 (commit)
      from  f417d92c1714406b85d887c96736801498962ff5 (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=1598f3ad06db9654a5d112136e40b630649405c3

commit 1598f3ad06db9654a5d112136e40b630649405c3
Author: Palmer Dabbelt <palmer@dabbelt.com>
Date:   Fri Jan 5 23:18:40 2018 -0800

    Strip shared objects in subdirectories of lib
    
    The RISC-V port will have libraries in subdirectories of lib, like
    "lib64/lp64d".  This adds support for stripping these installed
    libraries.
    
    2018-01-06  Palmer Dabbelt  <palmer@sifive.com>
    
           * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
           in subdirectories of lib.

diff --git a/ChangeLog b/ChangeLog
index bcee494..905d93a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,8 @@
 	* sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
 	define.
 	(VDSO_HASH_LINUX_4_15): Likewise.
+	* scripts/build-many-glibcs.py (class Glibc): Strip shared objects
+	in subdirectories of lib.
 
 2018-01-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
diff --git a/scripts/build-many-glibcs.py b/scripts/build-many-glibcs.py
index f358307..75a920a 100755
--- a/scripts/build-many-glibcs.py
+++ b/scripts/build-many-glibcs.py
@@ -1377,7 +1377,7 @@ class Glibc(object):
             if self.ctx.strip:
                 cmdlist.add_command('strip',
                                     ['sh', '-c',
-                                     ('%s %s/lib*/*.so' %
+                                     ('%s $(find %s/lib* -name "*.so")' %
                                       (self.tool_name('strip'), installdir))])
             cmdlist.add_command('check', ['make', 'check'])
             cmdlist.add_command('save-logs', [self.ctx.save_logs],

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

commit 150bbac18bf0af28954bd505793de60f61918b07
Author: Palmer Dabbelt <palmer@dabbelt.com>
Date:   Tue Dec 26 20:52:42 2017 -0800

    Add linux-4.15 VDSO hash for RISC-V
    
    The RISC-V Linux port defines VDSO symbols
    
    2018-01-06  Palmer Dabbelt  <palmer@sifive.com>
    
           * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
           define.
           (VDSO_HASH_LINUX_4_15): Likewise.

diff --git a/ChangeLog b/ChangeLog
index 6dc8a41..bcee494 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -14,6 +14,9 @@
 	(R_RISCV_TLS_TPREL64): Likewise.
 	* Makerules (make-link-multidir): Make directories before linking into
 	them.
+	* sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
+	define.
+	(VDSO_HASH_LINUX_4_15): Likewise.
 
 2018-01-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
diff --git a/sysdeps/unix/sysv/linux/dl-vdso.h b/sysdeps/unix/sysv/linux/dl-vdso.h
index 913e4e0..7b668d0 100644
--- a/sysdeps/unix/sysv/linux/dl-vdso.h
+++ b/sysdeps/unix/sysv/linux/dl-vdso.h
@@ -44,6 +44,8 @@
 #define VDSO_HASH_LINUX_2_6_15	123718565
 #define VDSO_NAME_LINUX_2_6_29	"LINUX_2.6.29"
 #define VDSO_HASH_LINUX_2_6_29	123718585
+#define VDSO_NAME_LINUX_4_15	"LINUX_4.15"
+#define VDSO_HASH_LINUX_4_15	182943605
 
 /* Functions for resolving symbols in the VDSO link map.  */
 extern void *_dl_vdso_vsym (const char *name,

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

commit 005055325176500f03fbd64f122bc4de64719c46
Author: Palmer Dabbelt <palmer@dabbelt.com>
Date:   Tue Dec 26 20:55:34 2017 -0800

    Allow make-link-multidir to make subdirectories
    
    The RISC-V Linux ABI doesn't define any libraries that go directly in
    lib, instead they go into lib32/ilp32 or lib64/lp64.  This casuse
    make-link-multidir to fail when attempting to make library directories
    when building a static libc on multilib RISC-V systems.
    
    This patch uses scripts/mkinstalldirs to make the base directory of the
    target symlink of make-link-multidir.
    
    2018-01-06  Palmer Dabbelt  <palmer@sifive.com>
    
           * Makerules (make-link-multidir): Make directories before linking into
           them.

diff --git a/ChangeLog b/ChangeLog
index 0e2c742..6dc8a41 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -12,6 +12,8 @@
 	(R_RISCV_TLS_DTPREL64): Likewise.
 	(R_RISCV_TLS_TPREL32): Likewise.
 	(R_RISCV_TLS_TPREL64): Likewise.
+	* Makerules (make-link-multidir): Make directories before linking into
+	them.
 
 2018-01-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
diff --git a/Makerules b/Makerules
index d94e4ca..ef6abea 100644
--- a/Makerules
+++ b/Makerules
@@ -1081,6 +1081,7 @@ mv -f $@.new $@
 endef
 define make-link-multidir
 $(patsubst %/,cd %,$(objpfx)); \
+  $(addprefix $(abspath $(..)scripts/mkinstalldirs) ,$(dir $(multidir))); \
   $(LN_S) . $(multidir) 2> /dev/null; \
   test -L $(multidir)
 endef

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

commit 31a98837be41b03853fcc607e3a7be6b0525a910
Author: Palmer Dabbelt <palmer@dabbelt.com>
Date:   Tue Dec 26 20:52:36 2017 -0800

    Add RISC-V dynamic relocations to elf.h
    
    These relocations can appear in shared objects on RISC-V ELF systems.
    
    2018-01-06  Palmer Dabbelt  <palmer@sifive.com>
    
           * elf/elf.h (R_RISCV_NONE): New define.
           (R_RISCV_32): Likewise.
           (R_RISCV_64): Likewise.
           (R_RISCV_RELATIVE): Likewise.
           (R_RISCV_COPY): Likewise.
           (R_RISCV_JUMP_SLOT): Likewise.
           (R_RISCV_TLS_DTPMOD32): Likewise.
           (R_RISCV_TLS_DTPMOD64): Likewise.
           (R_RISCV_TLS_DTPREL32): Likewise.
           (R_RISCV_TLS_DTPREL64): Likewise.
           (R_RISCV_TLS_TPREL32): Likewise.
           (R_RISCV_TLS_TPREL64): Likewise.

diff --git a/ChangeLog b/ChangeLog
index 6d87f71..0e2c742 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+2018-01-06  Palmer Dabbelt  <palmer@sifive.com>
+
+	* elf/elf.h (R_RISCV_NONE): New define.
+	(R_RISCV_32): Likewise.
+	(R_RISCV_64): Likewise.
+	(R_RISCV_RELATIVE): Likewise.
+	(R_RISCV_COPY): Likewise.
+	(R_RISCV_JUMP_SLOT): Likewise.
+	(R_RISCV_TLS_DTPMOD32): Likewise.
+	(R_RISCV_TLS_DTPMOD64): Likewise.
+	(R_RISCV_TLS_DTPREL32): Likewise.
+	(R_RISCV_TLS_DTPREL64): Likewise.
+	(R_RISCV_TLS_TPREL32): Likewise.
+	(R_RISCV_TLS_TPREL64): Likewise.
+
 2018-01-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
 
 	* sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
diff --git a/elf/elf.h b/elf/elf.h
index 01d7946..0318503 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -3762,6 +3762,20 @@ enum
 
 #define R_TILEGX_NUM		130
 
+/* RISC-V relocations.  */
+#define R_RISCV_NONE          0
+#define R_RISCV_32            1
+#define R_RISCV_64            2
+#define R_RISCV_RELATIVE      3
+#define R_RISCV_COPY          4
+#define R_RISCV_JUMP_SLOT     5
+#define R_RISCV_TLS_DTPMOD32  6
+#define R_RISCV_TLS_DTPMOD64  7
+#define R_RISCV_TLS_DTPREL32  8
+#define R_RISCV_TLS_DTPREL64  9
+#define R_RISCV_TLS_TPREL32  10
+#define R_RISCV_TLS_TPREL64  11
+
 /* BPF specific declarations.  */
 
 #define R_BPF_NONE		0	/* No reloc */

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

Summary of changes:
 ChangeLog                         |   22 ++++++++++++++++++++++
 Makerules                         |    1 +
 elf/elf.h                         |   14 ++++++++++++++
 scripts/build-many-glibcs.py      |    2 +-
 sysdeps/unix/sysv/linux/dl-vdso.h |    2 ++
 5 files changed, 40 insertions(+), 1 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]