Page MenuHomeFreeBSD

ctfmerge: demote "No ctf sections found" to a warning
ClosedPublic

Authored by emaste on Feb 14 2024, 3:06 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Apr 22, 4:17 AM
Unknown Object (File)
Sun, Apr 20, 6:03 PM
Unknown Object (File)
Sun, Apr 20, 8:00 AM
Unknown Object (File)
Sat, Apr 12, 3:24 PM
Unknown Object (File)
Sun, Apr 6, 11:18 PM
Unknown Object (File)
Feb 4 2025, 5:41 AM
Unknown Object (File)
Feb 4 2025, 3:18 AM
Unknown Object (File)
Jan 30 2025, 1:17 AM
Subscribers

Details

Summary

If there are no CTF sections then ctfmerge just has nothing to do; it
should not be an error.

Note that ctfmerge as an option to require CTF:

-t      Make sure that all object files have a CTF section.

This option explicitly exited without error if none of the object files
have CTF sections, with the comment:

If we're verifying that C files have CTF, it's safe to
assume that in this case, we're building only from assembly
inputs.

(Creating new review as f48cd806e04a7d6f459cfd93dba283465d40e190 was accidentally committed with a reference to D43877)

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped