summaryrefslogtreecommitdiff
path: root/src/ldso/x32/start.s
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-06-20 00:25:12 -0400
committerRich Felker <dalias@aerifal.cx>2014-06-20 00:25:12 -0400
commit3fa2eb2aba8d6b54dec53e7ad4c37e17392b166f (patch)
treeedf9c4eb999f1774abc7bd960b5c32b075ad7e71 /src/ldso/x32/start.s
parentacb7e049b8c70b9e6ad57e8601373f9c991a0da4 (diff)
downloadmusl-3fa2eb2aba8d6b54dec53e7ad4c37e17392b166f.tar.gz
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/x32/start.s')
-rw-r--r--src/ldso/x32/start.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ldso/x32/start.s b/src/ldso/x32/start.s
index 0fcf46dc..3c3800aa 100644
--- a/src/ldso/x32/start.s
+++ b/src/ldso/x32/start.s
@@ -1,6 +1,6 @@
.text
-.global _start
-_start:
+.global _dlstart
+_dlstart:
mov (%rsp),%rdi /* move argc into 1st argument slot */
lea 4(%rsp),%rsi /* move argv into 2nd argument slot */
call __dynlink