diff options
| author | Tom Rini <[email protected]> | 2021-09-17 12:05:20 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-09-17 12:10:44 -0400 |
| commit | 6252fd05a2842211ab035e5fbb90549225afadd1 (patch) | |
| tree | 01a5df0366bd42a1a806b8f048232051dacb2ef2 | |
| parent | 2e09008c3c938dac28440d948a27b1c4190f36d2 (diff) | |
m68k: Add missing ENTRY entry in linker script
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 <[email protected]>
Cc: Angelo Dureghello <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
| -rw-r--r-- | arch/m68k/cpu/u-boot.lds | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/cpu/u-boot.lds b/arch/m68k/cpu/u-boot.lds index 64cf2ff5ef9..affb2d93746 100644 --- a/arch/m68k/cpu/u-boot.lds +++ b/arch/m68k/cpu/u-boot.lds @@ -9,6 +9,7 @@ #include <config.h> OUTPUT_ARCH(m68k) +ENTRY(_start) #ifndef LDS_BOARD_TEXT #define LDS_BOARD_TEXT |
