summaryrefslogtreecommitdiff
path: root/tests/commonlib/region-test.c
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2021-01-13 19:13:21 -0800
committerJulius Werner <jwerner@chromium.org>2021-01-22 02:13:11 +0000
commit7d4ef16efebe489b247b55740bc284b36d6879e2 (patch)
tree7c17bb38511d4ec77011137fec55fd55689e8a00 /tests/commonlib/region-test.c
parent88615629c051de0833e690463cef6967f0708c0c (diff)
Makefile.inc: Avoid --emit-relocs on RISC-V
There seems to be a bug[1] in the GNU linker for the RISC-V architecture triggered by symbols that are more than 2GB offset from the program counter. My next patch is introducing symbols like that and stuck on this problem. The code path that runs into the issue is only taken when passing the --emit-relocs flag, which is really only needed for building rmodules. Since RISC-V platforms don't use any rmodules at the moment, let's disable the flag on RISC-V until the issue can be fixed in the toolchain. [1]: https://sourceware.org/bugzilla/show_bug.cgi?id=27180 Signed-off-by: Julius Werner <jwerner@chromium.org> Change-Id: I784a506034325c0ba937589416acaafbf80080e2 Reviewed-on: https://review.coreboot.org/c/coreboot/+/49449 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'tests/commonlib/region-test.c')
0 files changed, 0 insertions, 0 deletions