From 3fa2eb2aba8d6b54dec53e7ad4c37e17392b166f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 20 Jun 2014 00:25:12 -0400 Subject: 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. --- src/ldso/mips/start.s | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ldso/mips') diff --git a/src/ldso/mips/start.s b/src/ldso/mips/start.s index 2e985294..0cadbf8a 100644 --- a/src/ldso/mips/start.s +++ b/src/ldso/mips/start.s @@ -2,9 +2,9 @@ .hidden __reloc_self .set noreorder .set nomacro -.global _start -.type _start,@function -_start: +.global _dlstart +.type _dlstart,@function +_dlstart: move $fp, $0 bgezal $0, 1f -- cgit v1.2.1