diff options
author | Rich Felker <dalias@aerifal.cx> | 2014-06-20 00:25:12 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2014-06-20 00:25:12 -0400 |
commit | 3fa2eb2aba8d6b54dec53e7ad4c37e17392b166f (patch) | |
tree | edf9c4eb999f1774abc7bd960b5c32b075ad7e71 /src/ldso/sh/start.s | |
parent | acb7e049b8c70b9e6ad57e8601373f9c991a0da4 (diff) | |
download | musl-3fa2eb2aba8d6b54dec53e7ad4c37e17392b166f.tar.gz musl-3fa2eb2aba8d6b54dec53e7ad4c37e17392b166f.tar.bz2 musl-3fa2eb2aba8d6b54dec53e7ad4c37e17392b166f.tar.xz musl-3fa2eb2aba8d6b54dec53e7ad4c37e17392b166f.zip |
rename dynamic linker entry point from _start to _dlstart
the main motivation for this change is to aid in debugging. since the
main program's entry point is also named _start, it was difficult to
set breakpoints or quickly identify which _start execution stopped in.
Diffstat (limited to 'src/ldso/sh/start.s')
-rw-r--r-- | src/ldso/sh/start.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ldso/sh/start.s b/src/ldso/sh/start.s index ca6b7fc9..0d2d9136 100644 --- a/src/ldso/sh/start.s +++ b/src/ldso/sh/start.s @@ -1,7 +1,7 @@ .text -.global _start -.type _start, @function -_start: +.global _dlstart +.type _dlstart, @function +_dlstart: mov.l @r15, r4 mov r15, r5 mov.l L1, r0 |