mirror of
git://sourceware.org/git/glibc.git
synced 2025-02-23 13:09:58 +08:00
elf: Move l_init_called_next to old place of l_text_end in link map
This preserves all member offsets and the GLIBC_PRIVATE ABI for backporting.
This commit is contained in:
parent
34b07bdbdd
commit
59ee83b0c2
@ -256,6 +256,10 @@ struct link_map
|
|||||||
need not be the same as l_addr. */
|
need not be the same as l_addr. */
|
||||||
ElfW(Addr) l_map_start, l_map_end;
|
ElfW(Addr) l_map_start, l_map_end;
|
||||||
|
|
||||||
|
/* Linked list of objects in reverse ELF constructor execution
|
||||||
|
order. Head of list is stored in _dl_init_called_list. */
|
||||||
|
struct link_map *l_init_called_next;
|
||||||
|
|
||||||
/* Default array for 'l_scope'. */
|
/* Default array for 'l_scope'. */
|
||||||
struct r_scope_elem *l_scope_mem[4];
|
struct r_scope_elem *l_scope_mem[4];
|
||||||
/* Size of array allocated for 'l_scope'. */
|
/* Size of array allocated for 'l_scope'. */
|
||||||
@ -278,10 +282,6 @@ struct link_map
|
|||||||
/* List of object in order of the init and fini calls. */
|
/* List of object in order of the init and fini calls. */
|
||||||
struct link_map **l_initfini;
|
struct link_map **l_initfini;
|
||||||
|
|
||||||
/* Linked list of objects in reverse ELF constructor execution
|
|
||||||
order. Head of list is stored in _dl_init_called_list. */
|
|
||||||
struct link_map *l_init_called_next;
|
|
||||||
|
|
||||||
/* List of the dependencies introduced through symbol binding. */
|
/* List of the dependencies introduced through symbol binding. */
|
||||||
struct link_map_reldeps
|
struct link_map_reldeps
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user