[lld] [llvm] MIPS: Use pcrel|sdata4 for eh_frame (PR #91291)

Jessica Clarke via llvm-commits llvm-commits at lists.llvm.org
Mon May 6 19:47:36 PDT 2024


================
@@ -343,7 +343,7 @@ void MCObjectFileInfo::initELFMCObjectFileInfo(const Triple &T, bool Large) {
   case Triple::mips64el:
     // We cannot use DW_EH_PE_sdata8 for the large PositionIndependent case
     // since there is no R_MIPS_PC64 relocation (only a 32-bit version).
-    if (PositionIndependent && !Large)
+    if (PositionIndependent)
----------------
jrtc27 wrote:

This just ignores the justification above?

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


More information about the llvm-commits mailing list