Bug 837551 - Ignore dynamic section headers of type DT_FLAGS_1. r=glandium

This commit is contained in:
Kartikaya Gupta 2013-02-04 09:58:54 -05:00
parent 844ae24f16
commit 96ab84cbed
2 changed files with 5 additions and 0 deletions

View File

@ -588,6 +588,8 @@ CustomElf::InitDyn(const Phdr *pt_dyn)
* libraries. They are not supported anyways. */
case UNSUPPORTED_RELOC(COUNT): /* This should error out, but it doesn't
* really matter. */
case DT_FLAGS_1: /* Additional linker-internal flags that we don't care about. See
* DF_1_* values in src/include/elf/common.h in binutils. */
case DT_VERSYM: /* DT_VER* entries are used for symbol versioning, which */
case DT_VERDEF: /* this linker doesn't support yet. */
case DT_VERDEFNUM:

View File

@ -149,6 +149,9 @@
#ifndef DT_VERNEEDNUM
#define DT_VERNEEDNUM 0x6fffffff
#endif
#ifndef DT_FLAGS_1
#define DT_FLAGS_1 0x6ffffffb
#endif
#ifndef DT_FLAGS
#define DT_FLAGS 30
#endif