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)
Tue, Oct 14, 10:43 PM
Unknown Object (File)
Tue, Oct 14, 10:43 PM
Unknown Object (File)
Tue, Oct 14, 10:43 PM
Unknown Object (File)
Tue, Oct 14, 1:45 PM
Unknown Object (File)
Sat, Oct 11, 4:18 AM
Unknown Object (File)
Wed, Sep 24, 4:46 PM
Unknown Object (File)
Aug 11 2025, 11:09 PM
Unknown Object (File)
Jul 1 2025, 3:54 AM
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.