about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2023-09-08 13:02:06 +0200
committerFlorian Weimer <fweimer@redhat.com>2023-09-11 09:31:22 +0200
commitbdb594afa515d0150f8f092c45e04942d20ecb61 (patch)
tree3fd0e0fef23eea9c783cb6a0ff24d3987858b7cb /include
parenta7e34a667585f675143563569688756f4f4a6e47 (diff)
downloadglibc-bdb594afa515d0150f8f092c45e04942d20ecb61.tar.gz
glibc-bdb594afa515d0150f8f092c45e04942d20ecb61.tar.xz
glibc-bdb594afa515d0150f8f092c45e04942d20ecb61.zip
elf: Remove unused l_text_end field from struct link_map
It is a left-over from commit 52a01100ad011293197637e42b5be1a479a2
("elf: Remove ad-hoc restrictions on dlopen callers [BZ #22787]").

When backporting commmit 6985865bc3ad5b23147ee73466583dd7fdf65892
("elf: Always call destructors in reverse constructor order
(bug 30785)"), we can move the l_init_called_next field to this
place, so that the internal GLIBC_PRIVATE ABI does not change.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
(cherry picked from commit 53df2ce6885da3d0e89e87dca7b095622296014f)
Diffstat (limited to 'include')
-rw-r--r--include/link.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/link.h b/include/link.h
index 69bda3ed17..c6af095d87 100644
--- a/include/link.h
+++ b/include/link.h
@@ -253,8 +253,6 @@ struct link_map
     /* Start and finish of memory map for this object.  l_map_start
        need not be the same as l_addr.  */
     ElfW(Addr) l_map_start, l_map_end;
-    /* End of the executable part of the mapping.  */
-    ElfW(Addr) l_text_end;
 
     /* Default array for 'l_scope'.  */
     struct r_scope_elem *l_scope_mem[4];