summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ldso/ldso/bfin/dl-startup.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ldso/ldso/bfin/dl-startup.h b/ldso/ldso/bfin/dl-startup.h
index b1c800280..76ae15076 100644
--- a/ldso/ldso/bfin/dl-startup.h
+++ b/ldso/ldso/bfin/dl-startup.h
@@ -40,6 +40,10 @@ __asm__(
" .text\n"
" .global __start\n"
" .type __start,@function\n"
+ /* Build system expects a "_start" for the entry point;
+ provide it as it's free to do so with aliases. */
+ " .set _start, __start\n"
+ " .global _start\n"
"__start:\n"
" call .Lcall\n"
".Lcall:\n"