mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-17 13:00:43 +08:00
Fix elf/get-dynamic-info.h for AT
This commit is contained in:
parent
9298ecba15
commit
76a4a26979
@ -130,8 +130,8 @@ elf_get_dynamic_info (struct link_map *l, ElfW(Dyn) *temp)
|
|||||||
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. */
|
/* Flags must not be set for ld.so. */
|
||||||
assert (info[DT_RUNPATH] == NULL);
|
//assert (info[DT_RUNPATH] == NULL);
|
||||||
assert (info[DT_RPATH] == 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