mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-12 14:20:13 +00:00
Let ld.so have flags DT_RPATH and DT_RUNPATH
2015-02-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com> * elf/get-dynamic-info.h: Remove asserts that prevent ld.so from having the flags DT_RPATH and DT_RUNPATH.
This commit is contained in:
parent
1c9a5c270d
commit
63efe9a47f
@ -141,9 +141,6 @@ elf_get_dynamic_info (struct link_map *l, ElfW(Dyn) *temp)
|
|||||||
|| (info[VERSYMIDX (DT_FLAGS_1)]->d_un.d_val & ~DF_1_NOW) == 0);
|
|| (info[VERSYMIDX (DT_FLAGS_1)]->d_un.d_val & ~DF_1_NOW) == 0);
|
||||||
assert (info[DT_FLAGS] == NULL
|
assert (info[DT_FLAGS] == NULL
|
||||||
|| (info[DT_FLAGS]->d_un.d_val & ~DF_BIND_NOW) == 0);
|
|| (info[DT_FLAGS]->d_un.d_val & ~DF_BIND_NOW) == 0);
|
||||||
/* Flags must not be set for ld.so. */
|
|
||||||
assert (info[DT_RUNPATH] == NULL);
|
|
||||||
assert (info[DT_RPATH] == NULL);
|
|
||||||
#else
|
#else
|
||||||
if (info[DT_FLAGS] != NULL)
|
if (info[DT_FLAGS] != NULL)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user