diff options
author | Yidi Lin <yidilin@chromium.org> | 2024-05-04 17:25:33 +0800 |
---|---|---|
committer | Yu-Ping Wu <yupingso@google.com> | 2024-05-09 08:34:05 +0000 |
commit | 3d807d262fbc20dad5262934712dcf27215ba5b8 (patch) | |
tree | 41e3779a963641dab6f6d4650e52a1a2d0fbb8cc /src/drivers/crb | |
parent | 904c09bb9cd5cc1623a0c84bc6a121b615029c54 (diff) |
arch/arm64/Makefile.mk: Switch linker to GNU GCC
TF-A migrates the default choice of linker to GCC in order to enable
LTO. Change BL31_LDFLAGS from `--emit-relocs` to '-Wl,--emit-relocs', so
that GCC is able to pass `--emit-relocs` to the linker.
[1]: https://review.trustedfirmware.org/c/26703
BUG=b:338420310
TEST=emerge-geralt coreboot
TEST=./util/abuild/abuild -t google/geralt -b geralt -a
TEST=./util/abuild/abuild -t google/oak -b elm -a
Change-Id: I65b96aaa052138592a0f57230e1140a1bb2f07ac
Signed-off-by: Yidi Lin <yidilin@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/82189
Reviewed-by: Eric Lai <ericllai@google.com>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/drivers/crb')
0 files changed, 0 insertions, 0 deletions