Page MenuHomeFreeBSD

elf: add some definitions for i386 and amd64 relocations
ClosedPublic

Authored by kib on Jan 17 2021, 7:11 AM.
Tags
None
Referenced Files
F81645244: D28205.diff
Fri, Apr 19, 10:12 AM
Unknown Object (File)
Mar 7 2024, 5:25 PM
Unknown Object (File)
Dec 26 2023, 9:55 AM
Unknown Object (File)
Dec 23 2023, 4:51 AM
Unknown Object (File)
Dec 12 2023, 5:38 PM
Unknown Object (File)
Aug 26 2023, 5:16 AM
Unknown Object (File)
Aug 26 2023, 5:15 AM
Unknown Object (File)
Aug 26 2023, 5:12 AM
Subscribers
None

Details

Summary

I believe that rtld does not need to implement them, they are mostly for the static linker. 'Mostly' because for amd64 our kernel linker loads object files, and amd64 relocation types could be observed.

Defines were taken from glibc sources.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Jan 17 2021, 7:11 AM
kib created this revision.
This revision was not accepted when it landed; it landed in state Needs Review.Jan 21 2021, 12:57 PM
This revision was automatically updated to reflect the committed changes.