Page MenuHomeFreeBSD

Use OBJT_PHYS objects for linker files.
ClosedPublic

Authored by markj on Oct 1 2019, 7:11 PM.

Details

Summary

... when SPARSE_MAPPING is defined.

Diff Detail

Repository
rS 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

markj created this revision.Oct 1 2019, 7:11 PM
markj edited the summary of this revision. (Show Details)Oct 1 2019, 7:35 PM
markj added reviewers: alc, kib.
kib added a comment.Oct 1 2019, 9:21 PM

No objections, but why ? link_elf_obj also uses OBJT_DEFAULT.

markj added a comment.Oct 1 2019, 9:26 PM
In D21862#477610, @kib wrote:

No objections, but why ? link_elf_obj also uses OBJT_DEFAULT.

I don't see a reason to use OBJT_DEFAULT, and it carries more unnecessary overhead (pv entry allocation, for instance).

I will change link_elf_obj.c as well.

kib accepted this revision.Oct 2 2019, 1:40 PM
This revision is now accepted and ready to land.Oct 2 2019, 1:40 PM
alc accepted this revision.Oct 2 2019, 2:49 PM
This revision was automatically updated to reflect the committed changes.