Makefile: link with -nostartfiles
This saves a bit more space and a reasonable thing to do since a custom startup is used anyway. Build-tested only. Signed-off-by: Paul Fertser <fercerpav@gmail.com>
This commit is contained in:
parent
76f4f31cf3
commit
941b42a269
1
Makefile
1
Makefile
|
@ -366,6 +366,7 @@ ASFLAGS = $(ARCH_FLAGS) \
|
|||
|
||||
# XXX Map/crossref output?
|
||||
LDFLAGS = -lm \
|
||||
-nostartfiles \
|
||||
$(ARCH_FLAGS) \
|
||||
$(LTO_FLAGS) \
|
||||
$(DEBUG_FLAGS) \
|
||||
|
|
|
@ -99,8 +99,6 @@ LoopFillZerobss:
|
|||
|
||||
/* Call the clock system intitialization function.*/
|
||||
bl SystemInit
|
||||
/* Call static constructors */
|
||||
bl __libc_init_array
|
||||
/* Call the application's entry point.*/
|
||||
bl main
|
||||
/* Atollic update, branch LoopForever */
|
||||
|
|
Loading…
Reference in New Issue