diff options
author | Florian Weimer <fweimer@redhat.com> | 2019-10-31 13:28:49 +0100 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2019-11-21 13:31:29 +0100 |
commit | fcb04b9aed26a737159ef7be9c5a6ad0994437dc (patch) | |
tree | 8bbf75877c3ecff0326737f46c0f5406528ef863 /sysdeps/generic/ldsodefs.h | |
parent | d5dfad4326fc683c813df1e37bbf5cf920591c8e (diff) | |
download | glibc-fcb04b9aed26a737159ef7be9c5a6ad0994437dc.tar glibc-fcb04b9aed26a737159ef7be9c5a6ad0994437dc.tar.gz glibc-fcb04b9aed26a737159ef7be9c5a6ad0994437dc.tar.bz2 glibc-fcb04b9aed26a737159ef7be9c5a6ad0994437dc.zip |
Introduce DL_LOOKUP_FOR_RELOCATE flag for _dl_lookup_symbol_x
This will allow changes in dependency processing during non-lazy
binding, for more precise processing of NODELETE objects: During
initial relocation in dlopen, the fate of NODELETE objects is still
unclear, so objects which are depended upon by NODELETE objects
cannot immediately be marked as NODELETE.
Change-Id: Ic7b94a3f7c4719a00ca8e6018088567824da0658
Diffstat (limited to 'sysdeps/generic/ldsodefs.h')
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index 891049dd1a..9737780136 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -917,6 +917,9 @@ enum DL_LOOKUP_RETURN_NEWEST = 2, /* Set if dl_lookup* called with GSCOPE lock held. */ DL_LOOKUP_GSCOPE_LOCK = 4, + /* Set if dl_lookup is called for non-lazy relocation processing + from _dl_relocate_object in elf/dl-reloc.c. */ + DL_LOOKUP_FOR_RELOCATE = 8, }; /* Lookup versioned symbol. */ |