Re: [PATCH 3/7] examples: add a linker script for the API demo

2020-04-23 Thread Bin Meng
On Tue, Apr 21, 2020 at 7:28 AM wrote: > > From: Mitchell Horne > > When compiling the API demo program, the first object file in the linker > arguments is crt0.o, which contains the _start routine. This is done > with the hope that it will appear first in the .text section, but the > linker does

[PATCH 3/7] examples: add a linker script for the API demo

2020-04-20 Thread mhorne
From: Mitchell Horne When compiling the API demo program, the first object file in the linker arguments is crt0.o, which contains the _start routine. This is done with the hope that it will appear first in the .text section, but the linker doesn't guarantee this behaviour. Add a simple linker sc