Page MenuHomeFreeBSD

Only include object files from .ALLSRC when linking crt1 objects.
ClosedPublic

Authored by jhb on Jun 26 2020, 4:55 PM.
Tags
None
Referenced Files
F150166953: D25469.id73699.diff
Sun, Mar 29, 11:22 PM
Unknown Object (File)
Thu, Mar 26, 5:17 AM
Unknown Object (File)
Wed, Mar 25, 9:45 AM
Unknown Object (File)
Tue, Mar 24, 5:04 PM
Unknown Object (File)
Thu, Mar 19, 4:51 AM
Unknown Object (File)
Thu, Mar 19, 1:38 AM
Unknown Object (File)
Wed, Mar 18, 3:58 AM
Unknown Object (File)
Tue, Mar 17, 9:16 AM

Details

Test Plan
  • make tinderbox and readelf -n of /bin/sh for all archs still shows all notes

Diff Detail

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

Event Timeline

jhb requested review of this revision.Jun 26 2020, 4:55 PM

LGTM, maybe worth a comment?

This revision is now accepted and ready to land.Jun 26 2020, 5:12 PM

We already use a slightly different pattern (ALLSRC:N:*.h:[1]) in csu/Makefile.inc without a comment, and also not sure what the comment would say? I am hopeful if I can get some of the other reviews in this train all landed that I can move most of this duplicated logic up into csu/Makefile.inc anyway at which point there would be a single instance of this command.