The port is functional. Bound checking is not supported yet.
Showing the changes to include (1 of 8 files). Show all
Unified · Split
| @@ -16,7 +16,11 @@ typedef struct { · 15 unmodified lines | |||
| 16 | char *reg_save_area; | 16 | char *reg_save_area; |
| 17 | } __va_list_struct; | 17 | } __va_list_struct; |
| 18 | 18 | ||
| 19 | /* Avoid conflicting definition for va_list on musl libc */ | ||
| 20 | #ifndef __DEFINED_va_list | ||
| 19 | typedef __va_list_struct va_list[1]; | 21 | typedef __va_list_struct va_list[1]; |
| 22 | #define __DEFINED_va_list | ||
| 23 | #endif | ||
| 20 | 24 | ||
| 21 | void __va_start(__va_list_struct *ap, void *fp); | 25 | void __va_start(__va_list_struct *ap, void *fp); |
| 22 | void *__va_arg(__va_list_struct *ap, int arg_type, int size, int align); | 26 | void *__va_arg(__va_list_struct *ap, int arg_type, int size, int align); |