diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-02-06 12:10:00 -0600 |
---|---|---|
committer | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2014-02-06 12:10:00 -0600 |
commit | c93dc5f0d2811b971a8cf124818fff22d1c74e52 (patch) | |
tree | 789df89a6ea3a981f7c25fa6efe1de7963720e38 /elf | |
parent | 8e6ea3948c217401a84cd1115ca0291bdf2be90c (diff) | |
download | glibc-c93dc5f0d2811b971a8cf124818fff22d1c74e52.tar.gz glibc-c93dc5f0d2811b971a8cf124818fff22d1c74e52.tar.xz glibc-c93dc5f0d2811b971a8cf124818fff22d1c74e52.zip |
Fix assert() remove for DT_RUNPATH and DT_RPATH
This patch fixes a wrong merge of d19762a5fd946ef86fb2922eb5710aac8000ab25
Diffstat (limited to 'elf')
-rw-r--r-- | elf/get-dynamic-info.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/get-dynamic-info.h b/elf/get-dynamic-info.h index 1c30c44195..57cf964f20 100644 --- a/elf/get-dynamic-info.h +++ b/elf/get-dynamic-info.h @@ -130,8 +130,8 @@ elf_get_dynamic_info (struct link_map *l, ElfW(Dyn) *temp) assert (info[DT_FLAGS] == NULL || (info[DT_FLAGS]->d_un.d_val & ~DF_BIND_NOW) == 0); /* Flags must not be set for ld.so. */ - info[DT_RUNPATH] == NULL; - info[DT_RPATH] == NULL; + info[DT_RUNPATH] = NULL; + info[DT_RPATH] = NULL; #else if (info[DT_FLAGS] != NULL) { |