#3693 assigned defect

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 (2)

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.

Note: See TracTickets for help on using tickets.