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 11, 11:09 PM
Unknown Object (File)
Jul 1 2025, 3:54 AM
Unknown Object (File)
Jun 26 2025, 8:27 PM
Unknown Object (File)
Jun 26 2025, 8:08 PM
Unknown Object (File)
Jun 22 2025, 5:38 AM
Unknown Object (File)
May 18 2025, 4:16 AM
Unknown Object (File)
Apr 14 2025, 8:56 AM
Unknown Object (File)
Apr 14 2025, 3:49 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.