#3693 closed defect (fixed)

libdl incorrectly handles MIPS16hi/lo relocs

Reported by: Chris Johns Owned by: Chris Johns
Priority: normal Milestone: 5.1
Component: lib/dl Version: 5
Severity: normal Keywords: libdl mips
Cc: sergkruglov@… Blocked By:


This issue was reported back is 2016 and it slipped through. I am creating a ticket here to track the issue.


Attachments (1)

libdl-rtl-mdreloc-mips-hi16-lo16.diff (5.1 KB) - added by Chris Johns on Feb 15, 2019 at 2:29:55 AM.
Fix based on the email posted changes.

Download all attachments as: .zip

Change History (3)

comment:1 Changed on Feb 14, 2019 at 11:15:51 PM by Chris Johns

The patch creates global data between the architecture relocator and the format. I wonder how the ELF format handles the same reloc records?

The latest code has support for architecture specific handling of reloc records. I wonder if this new infrastructure can be used to achieve the same thing?

Changed on Feb 15, 2019 at 2:29:55 AM by Chris Johns

Fix based on the email posted changes.

comment:2 Changed on Apr 28, 2020 at 4:00:12 AM by Chris Johns <chrisj@…>

Resolution: fixed
Status: assignedclosed

In 0b416759/rtems:

libdl/mips: Fix MIPS16hi/lo relocation support.

This patch is an updated version from:


Closes #3693

Note: See TracTickets for help on using tickets.