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
46#define va_copy(dest, src) (dest) = (src)46#define va_copy(dest, src) (dest) = (src)
47#define va_end(ap)47#define va_end(ap)
48 48
49#elif defined(__aarch64__)
50typedef 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
49#else /* __i386__ */62#else /* __i386__ */
50typedef char *va_list;63typedef char *va_list;
51/* only correct for i386 */64/* 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