Page MenuHomeFreeBSD

Use OBJT_PHYS objects for linker files.
ClosedPublic

Authored by markj on Oct 1 2019, 7:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Aug 10, 5:50 PM
Unknown Object (File)
Mon, Aug 10, 5:50 PM
Unknown Object (File)
Mon, Aug 10, 5:48 PM
Unknown Object (File)
Jul 21 2026, 6:40 AM
Unknown Object (File)
Jul 19 2026, 9:11 PM
Unknown Object (File)
Jul 18 2026, 3:04 PM
Unknown Object (File)
Jun 29 2026, 10:27 PM
Unknown Object (File)
Jun 22 2026, 5:28 PM
Subscribers

Details

Summary

... when SPARSE_MAPPING is defined.

Diff Detail

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

Event Timeline

markj added reviewers: alc, kib.

No objections, but why ? link_elf_obj also uses OBJT_DEFAULT.

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.

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