Skip to content
Commit 55a63643 authored by Alan Modra's avatar Alan Modra Committed by Aurelien Jarno
Browse files

Use __ehdr_start rather than _begin in _dl_start_final



__ehdr_start is already used in rltld.c:dl_main, and can serve the
same purpose as _begin.  Besides tidying the code, using linker
defined section relative symbols rather than "-defsym _begin=0" better
reflects the intent of _dl_start_final use of _begin, which is to
refer to the load address of ld.so rather than absolute address zero.

Reviewed-by: default avatarFlorian Weimer <fweimer@redhat.com>
(cherry picked from commit 6f043e0e)
parent 61e15f68
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment