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)
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
Unknown Object (File)
Sat, May 4, 1:17 PM
Unknown Object (File)
Apr 14 2024, 5:39 PM
Unknown Object (File)
Apr 7 2024, 2:03 AM
Unknown Object (File)
Mar 19 2024, 3:19 PM
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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable