Re: [PATCH] x86, realmode: explicitly set ENTRY in linker script

2019-09-24 Thread Nick Desaulniers
On Tue, Sep 24, 2019 at 11:24 AM Nathan Chancellor wrote: > > On Mon, Sep 23, 2019 at 03:24:02PM -0700, 'Nick Desaulniers' via Clang Built > Linux wrote: > > Linking with ld.lld via $ make LD=ld.lld produces the warning: > > ld.lld: warning: cannot find entry symbol _start; defaulting to 0x1000 >

Re: [PATCH] x86, realmode: explicitly set ENTRY in linker script

2019-09-24 Thread Nathan Chancellor
On Mon, Sep 23, 2019 at 03:24:02PM -0700, 'Nick Desaulniers' via Clang Built Linux wrote: > Linking with ld.lld via $ make LD=ld.lld produces the warning: > ld.lld: warning: cannot find entry symbol _start; defaulting to 0x1000 > > Linking with ld.bfd shows the default entry is 0x1000: > $ readel

Re: [PATCH] x86, realmode: explicitly set ENTRY in linker script

2019-09-24 Thread Sedat Dilek
On Tue, Sep 24, 2019 at 12:24 AM 'Nick Desaulniers' via Clang Built Linux wrote: > > Linking with ld.lld via $ make LD=ld.lld produces the warning: > ld.lld: warning: cannot find entry symbol _start; defaulting to 0x1000 > > Linking with ld.bfd shows the default entry is 0x1000: > $ readelf -h arc

[PATCH] x86, realmode: explicitly set ENTRY in linker script

2019-09-23 Thread Nick Desaulniers
Linking with ld.lld via $ make LD=ld.lld produces the warning: ld.lld: warning: cannot find entry symbol _start; defaulting to 0x1000 Linking with ld.bfd shows the default entry is 0x1000: $ readelf -h arch/x86/realmode/rm/realmode.elf | grep Entry Entry point address: 0x1000 Whil