diff options
author | Jerome Forissier <jerome@forissier.org> | 2020-04-24 16:16:22 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome@forissier.org> | 2020-04-27 16:36:53 +0200 |
commit | 8731e19cf6fc48c86cbdcd63a6ca85c49a701f2c (patch) | |
tree | 03e7925b3802e31d30accc7fd9a60732150d0fa6 /ta | |
parent | 8d176400a3c22f6d4e4c0fe157b4be06657a775a (diff) |
core: clang: pager: use the normal linker (ld.lld)
Since LLVM commit [1] ("[ELF] Keep orphan section names (.rodata.foo
.text.foo) unchanged if !hasSectionsCommand"), ld.lld behaves like GNU
ld regarding output section names. So, we can remove our temporary hack.
This also fixes a build issue when a newer Clang (v11 master) is used
together with an older GNU ld (8.3 for instance) due to the latter not
supporting some GNU_PROPERTY_* values generated by the Clang compiler:
LD out/arm/core/tee.elf
bin/aarch64-linux-gnu-ld: warning: out/arm/core/ta_pub_key.o: unsupported GNU_PROPERTY_TYPE (5) type: 0xc0000000
...
Link: [1] https://github.com/llvm/llvm-project/commit/9e33c096476a
Signed-off-by: Jerome Forissier <jerome@forissier.org>
Acked-by: Etienne Carriere <etienne.carriere@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'ta')
0 files changed, 0 insertions, 0 deletions