Searched hist:"4 a86b26b84be2888c70a04f216734bf1456ee766" (Results 1 – 2 of 2) sorted by relevance
/freebsd/include/ |
H A D | stdlib.h | diff 4a86b26b84be2888c70a04f216734bf1456ee766 Fri Jun 21 17:48:41 CEST 2024 Warner Losh <imp@FreeBSD.org> 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
|
/freebsd/sys/sys/ |
H A D | cdefs.h | diff 4a86b26b84be2888c70a04f216734bf1456ee766 Fri Jun 21 17:48:41 CEST 2024 Warner Losh <imp@FreeBSD.org> 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
|