HomeFreeBSD

stdlib: Support compiling with tinyc by omitting compat qsort code

Description

stdlib: Support compiling with tinyc by omitting compat qsort code

TinyC doesn't support the .symver assembler directive. Add a generic way
to signal this and use that not to define sym_() macros that use
it. Only use the
sym_* macros in headers when they are defined (which
currently is only for the qsort_r compat code. Not supporting this for
tcc is fine: It's an edge case for legacy binaries / code anyway which
isn't relevant to tinyc.

Sponsored by: Netflix
Reviewed by: kib
Differential Revision: https://reviews.freebsd.org/D45651

Details

Provenance
impAuthored on Fri, Jun 21, 3:48 PM
Reviewer
kib
Differential Revision
D45651: stdlib: Support compiling with tinyc by omitting compat qsort code
Parents
rG3fdf11fe8fb0: acpi_timer: remove leftovers from Garbage-collect ACPI-safe timer and friends
Branches
Unknown
Tags
Unknown