[lld] [llvm] MIPS: Use pcrel|sdata4 for eh_frame (PR #91291)
YunQiang Su via llvm-commits
llvm-commits at lists.llvm.org
Mon May 6 21:10:21 PDT 2024
================
@@ -212,13 +212,8 @@ void TargetLoweringObjectFileELF::Initialize(MCContext &Ctx,
// identify N64 from just a triple.
TTypeEncoding = dwarf::DW_EH_PE_indirect | dwarf::DW_EH_PE_pcrel |
dwarf::DW_EH_PE_sdata4;
- // We don't support PC-relative LSDA references in GAS so we use the default
- // DW_EH_PE_absptr for those.
- // FreeBSD must be explicit about the data size and using pcrel since it's
- // assembler/linker won't do the automatic conversion that the Linux tools
- // do.
----------------
wzssyqa wrote:
You are right. We should be careful. Let's keep the OSFreebsd here.
https://github.com/llvm/llvm-project/pull/91291
More information about the llvm-commits
mailing list