Page MenuHomeFreeBSD

elf: add some definitions for i386 and amd64 relocations
ClosedPublic

Authored by kib on Jan 17 2021, 7:11 AM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; 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.