mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 837551 - Ignore dynamic section headers of type DT_FLAGS_1. r=glandium
This commit is contained in:
parent
844ae24f16
commit
96ab84cbed
@ -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:
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user