History

Add arm64 (AArch64) as a target architecture.

Edmund Grimley Evans committed 11 years ago

Commit b14ef0e1 parent 738606d16 files · +3265 −40Browse files

Showing the changes to include/stdarg.h (1 of 16 files). Show all

Unified · Split

include/stdarg.h+13−0
@@ -46,6 +46,19 @@ typedef char *va_list; · 45 unmodified lines
4646 #define va_copy(dest, src) (dest) = (src)
4747 #define va_end(ap)
4848
49+#elif defined(__aarch64__)
50+typedef struct {
51+ void *__stack;
52+ void *__gr_top;
53+ void *__vr_top;
54+ int __gr_offs;
55+ int __vr_offs;
56+} va_list;
57+#define va_start(ap, last) __va_start(ap, last)
58+#define va_arg(ap, type) __va_arg(ap, type)
59+#define va_end(ap)
60+#define va_copy(dest, src) ((dest) = (src))
61+
4962 #else /* __i386__ */
5063 typedef char *va_list;
5164 /* only correct for i386 */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t