Skip to content
Commit 4fb4e7e8 authored by Florian Weimer's avatar Florian Weimer
Browse files

csu: Always use __executable_start in gmon-start.c



Current binutils defines __executable_start as the lowest text
address, so using the entry point address as a fallback is no
longer necessary.  As a result, overriding <entry.h> is only
necessary if the entry point is not called _start.

The previous approach to define __ASSEMBLY__ to suppress the
declaration breaks if headers included by <entry.h> are not
compatible with __ASSEMBLY__.  This happens with rseq integration
because it is necessary to include kernel headers in more places.

Reviewed-by: default avatarH.J. Lu <hjl.tools@gmail.com>
parent c1cb2dee
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