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)
Mar 17 2025, 7:04 AM
Unknown Object (File)
Mar 12 2025, 6:39 PM
Unknown Object (File)
Feb 23 2025, 5:22 AM
Unknown Object (File)
Feb 8 2025, 5:30 AM
Unknown Object (File)
Feb 1 2025, 9:36 PM
Unknown Object (File)
Nov 29 2024, 12:01 PM
Unknown Object (File)
Nov 15 2024, 1:57 PM
Unknown Object (File)
Nov 15 2024, 11:00 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