Page MenuHomeFreeBSD

Add and correct MIPS relocation types
ClosedPublic

Authored by emaste on May 25 2016, 5:51 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 28 2023, 1:00 AM
Unknown Object (File)
Dec 20 2023, 3:28 AM
Unknown Object (File)
Nov 14 2023, 11:51 PM
Unknown Object (File)
Nov 5 2023, 4:50 AM
Unknown Object (File)
Oct 30 2023, 8:48 PM
Unknown Object (File)
Sep 6 2023, 11:02 AM
Unknown Object (File)
Jul 24 2023, 6:46 PM
Unknown Object (File)
Jun 25 2023, 2:40 PM
Subscribers
None

Details

Summary

The correct names for R_MIPS_GOT_HI16 and R_MIPS_GOT_LO16 have a _ after GOT. The nonstandard names in the FreeBSD elf_common.h header had incorrect values and were not used in the tree, so just remove them.

Add other MIPS relocation types found in FreeBSD/mips64 object files.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste retitled this revision from to Add and correct MIPS relocation types.
emaste updated this object.
emaste edited the test plan for this revision. (Show Details)
emaste added reviewers: imp, brooks, jmallett.

References:
https://dmz-portal.mips.com/wiki/MIPS_relocation_types
ftp://www.linux-mips.org/pub/linux/mips/doc/ABI/elf64-2.1.ps

imp edited edge metadata.

Looks reasonable to me.

This revision is now accepted and ready to land.May 29 2016, 4:53 AM
jmallett edited edge metadata.
This revision was automatically updated to reflect the committed changes.