[clang] [clang-repl] Fix PLT offset too large linker error on ARM (PR #78959)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 3 09:47:10 PST 2025


Stefan =?utf-8?q?Gränitz?= <stefan.graenitz at gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/78959 at github.com>


MaskRay wrote:

I just noticed that non-arm architectures have a `HAVE_LINKER_FLAG_LONG_PLT` check. This is an arm ELF specific option in GNU ld (ignored by lld). You could keep the previous architecture == ARM check so that other machines don't waste time running a link job.

https://github.com/llvm/llvm-project/pull/78959


More information about the cfe-commits mailing list