HomeFreeBSD

When patching USDT probes, use non-unique names for aliases of weak symbols.

Description

When patching USDT probes, use non-unique names for aliases of weak symbols.

Aliases are normally given names that include a key that's unique for each
input object file. This, for example, ensures that aliases for identically
named local symbols in different object files don't conflict. However, in
some cases the static linker will leave an undefined alias after merging
identical weak symbols, resulting in a link error. A non-unique name allows
the aliases to be merged as well.

PR: 216871
X-MFC With: r313262

Details

Provenance
markjAuthored on
Parents
rS313503: Record mergeinfo for r288682 and r288683 (items that should never be MFCed)
Branches
Unknown
Tags
Unknown