diff options
author | Masahiro Yamada <masahiroy@kernel.org> | 2021-08-19 02:57:39 +0200 |
---|---|---|
committer | Masahiro Yamada <masahiroy@kernel.org> | 2021-09-03 01:17:21 +0200 |
commit | 5df77ad61fd71b1b342ba40d913ad5595480691c (patch) | |
tree | 7fafd7e1afbea474a461fd4613118c330650b220 /fs/bfs | |
parent | kbuild: do not remove 'linux' link in scripts/link-vmlinux.sh (diff) | |
download | linux-5df77ad61fd71b1b342ba40d913ad5595480691c.tar.xz linux-5df77ad61fd71b1b342ba40d913ad5595480691c.zip |
kbuild: merge vmlinux_link() between ARCH=um and other architectures
For ARCH=um, ${CC} is used as the linker driver. Hence, the linker
options are prefixed with -Wl, .
Merge the similar code.
I replaced the -T option with the long option --script= so that it
works well with/without ${wl}.
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'fs/bfs')
0 files changed, 0 insertions, 0 deletions