linker: Remove unused (OPTIONAL) from linker scripts

(OPTIONAL) was a vestiage from the initial import of the Zephyr code
base and we dont utilize it with the GNU linker.  Additionally, the way
(OPTIONAL) gets defined to nothing creates a linker script that lld
(from llvm) doesn't like.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2019-03-14 18:39:36 -05:00 committed by Kumar Gala
commit 4da0f8b796
11 changed files with 55 additions and 57 deletions

View file

@ -122,7 +122,6 @@
#endif
#define SORT_BY_NAME(x) SORT(x)
#define OPTIONAL
#define COMMON_SYMBOLS *(COMMON)