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:
Kumar Gala 2018-12-14 15:28:14 -06:00 committed by Kumar Gala
commit cca5b61e84
4 changed files with 5 additions and 3 deletions

View file

@ -11,7 +11,6 @@
#define _LINKER
#define _ASMLANGUAGE
#include <autoconf.h>
#include <linker/sections.h>
#if defined(CONFIG_UART_NSIM)