Commit 30a859f4 authored by Keith Packard's avatar Keith Packard Committed by Sudan Landge
Browse files

m-profile/gcc: Support picolibc startup mechanism (#246)



Use picolibc's _start function instead of providing our own.

Signed-off-by: default avatarKeith Packard <keithp@keithp.com>
(cherry picked from commit e902f869b5b1bb683c53bca0929ce49401c637ab)
parent 06d952b6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -29,6 +29,10 @@

#include <arm_acle.h>

#if defined(__PICOLIBC__) && !defined(__PROGRAM_START)
#define __PROGRAM_START _start
#endif

/* #########################  Startup and Lowlevel Init  ######################## */
#ifndef __PROGRAM_START