binutils Newspaper
NOVEMBER 30, 2026
loongarch — Proposed

LoongArch: Detect relocations out of section range

Resubmits a patch for LoongArch relocation range detection, opting for a non-common implementation as per review feedback.

This email resubmits a patch for LoongArch relocation range detection. The proposer is reusing an existing patch because a reviewer recommended against using a common implementation. The discussion also touches upon adding relocation names to error messages, with the reviewer agreeing to incorporate this in a future revision.

In the Thread 2 participants
  1. mengqinggang <mengqinggang@loongson.cn> proposer

    Resubmits a patch for LoongArch relocation range detection, preferring a specific implementation over a common one as advised by a reviewer.

    “Reuse this patch, since Alan does not recommend using the common implementation.”
  2. Harshit Kumar <harshit.kumar@intel.com> reviewer

    Acknowledges the resubmission and confirms that adding the relocation name to the error message is a good idea, which will be addressed in a future revision.

    “Thanks. Naming the relocation makes sense. The message is currently the one i386 and x86-64 already print, so I kept the wording the same; I'll add the name in the next revision of the series.”

In Details

This is a follow-up discussion on a patch series for LoongArch's relocation handling. The proposer is resubmitting a patch based on feedback that a generic implementation was not desired. The discussion also confirms that error messages will be enhanced to include relocation names, a suggestion made by the reviewer.

Filed Under: LoongArchlinkerrelocationcode review