]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
m68k: Add missing ENTRY entry in linker script
authorTom Rini <trini@konsulko.com>
Fri, 17 Sep 2021 16:05:20 +0000 (12:05 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 17 Sep 2021 16:10:44 +0000 (12:10 -0400)
Currently, there is no ENTRY() entry in the m68k linker script.
However, since they currently contain a version_string symbol, which
then overrides the default weak version_string symbol, the linker
decides we must keep start.o in the resulting link.  Add an ENTRY() line
so that the linker will know to keep this, even when version_string is
no longer provided in start.S

Cc: Huan Wang <alison.wang@nxp.com>
Cc: Angelo Dureghello <angelo@sysam.it>
Signed-off-by: Tom Rini <trini@konsulko.com>
arch/m68k/cpu/u-boot.lds

index 64cf2ff5ef97367a9fa043a5fd02631f576e868f..affb2d93746492d2bf624f43f38e471c1961b2e1 100644 (file)
@@ -9,6 +9,7 @@
 #include <config.h>
 
 OUTPUT_ARCH(m68k)
+ENTRY(_start)
 
 #ifndef LDS_BOARD_TEXT
 #define LDS_BOARD_TEXT