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 "uClibc-ng - small C library for embedded systems".
The branch, master has been updated
via 9728de1929812df84749c9fb044f6f584e044199 (commit)
via ff6ce3999db93a52d1cd22510f8508b660ddf54e (commit)
from 5d775f82cb4269a6967196e4c5fa63c2af71b769 (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 -----------------------------------------------------------------
commit 9728de1929812df84749c9fb044f6f584e044199
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Sun Feb 8 15:06:11 2015 +0100
Use executables RPATH/RUNPATH when searching for libraries.
Patch by Steve Ellcey <sellcey(a)imgtec.com> on uClibc mailinglist.
-----------------------------------------------------------------------
Summary of changes:
extra/Configs/Config.in | 9 +++++++++
include/gnu-versions.h | 2 ++
ldso/ldso/dl-elf.c | 12 ++++++++++++
3 files changed, 23 insertions(+)
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index cec06e4..c7a3b2d 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -420,6 +420,15 @@ config LDSO_RUNPATH
Usage of RUNPATH tags is not too common, so disabling this feature
should be safe for most people.
+config LDSO_RUNPATH_OF_EXECUTABLE
+ bool "Use executables RPATH/RUNPATH when searching for libraries."
+ depends on LDSO_RUNPATH
+ default n
+ help
+ Use the executables RPATH/RUNPATH to find to find libraries even
+ though this behavour is not standard. Setting this option causes
+ the uclibc dynamic linker behavour to match the glibc dynamic linker.
+
config LDSO_SAFE_RUNPATH
bool "Allow only RUNPATH beginning with /"
depends on LDSO_RUNPATH
diff --git a/include/gnu-versions.h b/include/gnu-versions.h
index f67764c..9f53778 100644
--- a/include/gnu-versions.h
+++ b/include/gnu-versions.h
@@ -45,7 +45,9 @@
#define _GNU_OBSTACK_INTERFACE_VERSION 1 /* vs malloc/obstack.c */
#define _GNU_REGEX_INTERFACE_VERSION 1 /* vs posix/regex.c */
+#ifdef __UCLIBC_HAS_GNU_GLOB__
#define _GNU_GLOB_INTERFACE_VERSION 1 /* vs posix/glob.c */
+#endif
#define _GNU_GETOPT_INTERFACE_VERSION 2 /* vs posix/getopt.c and
posix/getopt1.c */
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c
index 6fc95b3..d42b912 100644
--- a/ldso/ldso/dl-elf.c
+++ b/ldso/ldso/dl-elf.c
@@ -266,6 +266,18 @@ struct elf_resolve *_dl_load_shared_library(unsigned rflags, struct dyn_elf **rp
if ((tpnt1 = search_for_named_library(libname, rflags, pnt, rpnt, NULL)) != NULL)
return tpnt1;
}
+#ifdef __LDSO_RUNPATH_OF_EXECUTABLE__
+ /*
+ * Try the DT_RPATH of the executable itself.
+ */
+ pnt = (char *) _dl_loaded_modules->dynamic_info[DT_RPATH];
+ if (pnt) {
+ pnt += (unsigned long) _dl_loaded_modules->dynamic_info[DT_STRTAB];
+ _dl_if_debug_dprint("\tsearching exe's RPATH='%s'\n", pnt);
+ if ((tpnt1 = search_for_named_library(libname, rflags, pnt, rpnt)) != NULL)
+ return tpnt1;
+ }
+#endif
#endif
/*
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
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 "uClibc-ng - small C library for embedded systems".
The branch, 1.0 has been created
at ff6ce3999db93a52d1cd22510f8508b660ddf54e (commit)
- Log -----------------------------------------------------------------
commit ff6ce3999db93a52d1cd22510f8508b660ddf54e
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Sat Feb 7 09:54:24 2015 +0100
only advertise when choosen
As discussed on the uClibc mailinglist, do not advertise
when not activated.
See this thread:
http://lists.uclibc.org/pipermail/uclibc/2015-February/048766.html
-----------------------------------------------------------------------
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
Hi Embedded Hackers,
on Sunday I decided to prepare for 1.0.0 release.
I have tagged 1.0.0 and prepared tarballs on
http://downloads.uclibc-ng.org/releases/
I updated OpenADK and Embedded-Test to use 1.0.0.
Now I starting to get uClibc-ng included in buildroot and OpenWrt
projects.
If you find any bugs or have any suggestions, don't hesitate to mail
me.
The releases get funky belgian beer names as code names.
best regards
Waldemar
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 "uClibc-ng - small C library for embedded systems".
The tag, v1.0.0 has been created
at 5d775f82cb4269a6967196e4c5fa63c2af71b769 (commit)
- Log -----------------------------------------------------------------
commit 5d775f82cb4269a6967196e4c5fa63c2af71b769
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Mon Feb 2 07:06:34 2015 +0100
mark 1.0.0 release
-----------------------------------------------------------------------
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
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 "uClibc-ng - small C library for embedded systems".
The annotated tag, v1.0.0 has been deleted
was 08f9cf79f577bf95a78e7b05b6dc56b375a02e89
- Log -----------------------------------------------------------------
f03fbbb009c0df52d363719a592e2ac33577d9a6 merge upstream changes
-----------------------------------------------------------------------
hooks/post-receive
--
uClibc-ng - small C library for embedded systems
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 "uClibc-ng - small C library for embedded systems".
The branch, master has been updated
via 5d775f82cb4269a6967196e4c5fa63c2af71b769 (commit)
from f03fbbb009c0df52d363719a592e2ac33577d9a6 (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 -----------------------------------------------------------------
commit 5d775f82cb4269a6967196e4c5fa63c2af71b769
Author: Waldemar Brodkorb <wbx(a)uclibc-ng.org>
Date: Mon Feb 2 07:06:34 2015 +0100
mark 1.0.0 release
-----------------------------------------------------------------------
Summary of changes:
Rules.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Rules.mak b/Rules.mak
index 2a73d7f..9ea92aa 100644
--- a/Rules.mak
+++ b/Rules.mak
@@ -127,7 +127,7 @@ export RUNTIME_PREFIX DEVEL_PREFIX KERNEL_HEADERS MULTILIB_DIR
MAJOR_VERSION := 1
MINOR_VERSION := 0
SUBLEVEL := 0
-EXTRAVERSION :=-git
+EXTRAVERSION :=
VERSION := $(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL)
ABI_VERSION := $(MAJOR_VERSION)
ifneq ($(EXTRAVERSION),)
hooks/post-receive
--
uClibc-ng - small C library for embedded systems