x86: add explicit ENTRY() declaration to linker scripts
PATCH 1/1 x86: add explicit ENTRY() declaration to linker scripts
It appears that some toolchain update caused the entry address in the elf image to be zero. Add explicit ENTRY() declarations as a workaround.
Signed-off-by Avi Kivity <[email protected]>
--- flat.lds | 1 + x86/realmode.lds | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-)
flat.lds +1 -0
@@ -18,3 +18,4 @@ SECTIONS edata = .; } +ENTRY(start)
x86/realmode.lds +1 -1
@@ -9,4 +9,4 @@ SECTIONS .bss : { *(.bss) } edata = .; } - +ENTRY(start)
Signature · 1 line
1.7.11.3