FROMLIST: kbuild: add ld-name macro
authorSami Tolvanen <samitolvanen@google.com>
Wed, 25 Oct 2017 19:33:58 +0000 (12:33 -0700)
committerSami Tolvanen <samitolvanen@google.com>
Thu, 26 Apr 2018 23:03:35 +0000 (16:03 -0700)
commite68f37bdf3afaeaba36f6a166d0beb06bd53c53a
tree0ed2206c8426594420565df4d1c1660b83153f87
parent3571151aaef3a5009360106d2bc9cb1ece04a12d
FROMLIST: kbuild: add ld-name macro

GNU gold may require different flags than GNU ld. Add a macro for
detecting the linker.

Bug: 62093296
Bug: 67506682
Change-Id: I777f14bf4fd902de1f8dc73d7ecc3c0403eae5f5
(am from https://patchwork.kernel.org/patch/10085775/)
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
scripts/Kbuild.include