arc: cleanup linker scripts to include autoconf.h first
The various linker scripts on arc would include autoconf.h in the arch linker script but might have CONFIG_ symbols referenced in the soc specific linker script. Move autoconf.h inclusion to top of the soc specific linker script out of the arch specific one so we know autoconf.h is seen before any CONFIG_ references. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
e841d42eca
commit
cca5b61e84
4 changed files with 5 additions and 3 deletions
|
@ -11,7 +11,6 @@
|
|||
#define _LINKER
|
||||
#define _ASMLANGUAGE
|
||||
|
||||
#include <autoconf.h>
|
||||
#include <linker/sections.h>
|
||||
|
||||
#if defined(CONFIG_UART_NSIM)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue