Page MenuHomeFreeBSD

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

Authored by emaste on Feb 14 2024, 2:54 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, May 28, 3:36 AM
Unknown Object (File)
Tue, May 28, 3:36 AM
Unknown Object (File)
Tue, May 28, 3:36 AM
Unknown Object (File)
Sun, May 26, 10:23 AM
Unknown Object (File)
Fri, May 17, 12:25 PM
Unknown Object (File)
Sat, May 11, 2:13 PM
Unknown Object (File)
Thu, May 9, 9:57 PM
Unknown Object (File)
Tue, May 7, 8:09 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.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped