HomeFreeBSD

csu: define STRIP_FBSDID

Description

csu: define STRIP_FBSDID

__FBSDID() places the provided string in the output object's .comment
section. However, with the transition to Git $FreeBSD$ is no longer
expanded and so we emitted a literal $FreeBSD$.

$FreeBSD$ will be addressed in a holistic manner in the future, but at
least avoid embedding it into everything linked on FreeBSD (via csu).

Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D33594

(cherry picked from commit cb2d1350154aab1d649ca70d45ebc7a88708491c)

Details

Provenance
emasteAuthored on Dec 20 2021, 9:30 PM
Differential Revision
D33594: csu: define STRIP_FBSDID
Parents
rG53f18b7c2036: libc: use standard LF line endings, not CRLF
Branches
Unknown
Tags
Unknown