update x86_64 abi, use ptr arg too so qualifier diffs are catched
[musl-tables] / abi.cc
diff --git a/abi.cc b/abi.cc
index 04236bd..6faae4e 100644 (file)
--- a/abi.cc
+++ b/abi.cc
 #include <tgmath.h>
 //#include <threads.h>
 #include <time.h>
+#include <uchar.h>
 #include <ucontext.h>
 #include <ulimit.h>
 #include <unistd.h>
 #include <wordexp.h>
 typedef long long long_long; typedef long double long_double;
 struct size{int i;}; struct align{int i;};
-#define p(s,t) void x_##t(s t x, size(*y)[sizeof(s t)], align(*z)[__alignof__(s t)]){}
-#define pp(s,t) void y_##t(s t* x, size(*y)[sizeof(s t*)], align(*z)[__alignof__(s t*)]){}
+#define p(s,t) void x_##t(s t x, s t* ptr, size(*y)[sizeof(s t)], align(*z)[__alignof__(s t)]){}
+#define pp(s,t) void x_##t(s t* ptr, size(*y)[sizeof(s t*)], align(*z)[__alignof__(s t*)]){}
 p(,ACTION)
 p(,CODE)
 pp(,DIR)
@@ -264,8 +265,11 @@ p(,bool)
 p(,caddr_t)
 p(,cc_t)
 p(,char)
+p(,char16_t)
+p(,char32_t)
 p(,clock_t)
 p(,clockid_t)
+//p(,cnd_t)
 p(,comp_t)
 p(,cpu_set_t)
 p(,dev_t)
@@ -273,7 +277,6 @@ p(,div_t)
 p(,double)
 p(,double_t)
 p(,elf_fpregset_t)
-//p(,elf_fpxregset_t)
 p(,elf_greg_t)
 p(,elf_gregset_t)
 p(,epoll_data_t)
@@ -324,12 +327,14 @@ p(,long)
 p(,long_double)
 p(,long_long)
 p(,lwpid_t)
+p(,max_align_t)
 p(,mbstate_t)
 p(,mcontext_t)
 p(,mode_t)
 p(,mqd_t)
 p(,msglen_t)
 p(,msgqnum_t)
+//p(,mtx_t)
 p(,n_long)
 p(,n_short)
 p(,n_time)
@@ -351,6 +356,7 @@ p(,ns_sect)
 p(,ns_type)
 p(,ns_update_operation)
 p(,off_t)
+//p(,once_flag)
 p(,pid_t)
 p(,posix_spawn_file_actions_t)
 p(,posix_spawnattr_t)
@@ -399,7 +405,6 @@ p(,speed_t)
 p(,ssize_t)
 p(,stack_t)
 p(struct,FTW)
-//p(struct,__CODE)
 //p(struct,__fsid_t)
 p(struct,__jmp_buf_tag)
 //p(struct,__mbstate_t)
@@ -447,6 +452,7 @@ p(struct,group_filter)
 p(struct,group_req)
 p(struct,group_source_req)
 p(struct,hostent)
+p(struct,hsearch_data)
 p(struct,icmp)
 p(struct,icmp6_filter)
 p(struct,icmp6_hdr)
@@ -501,6 +507,7 @@ p(struct,lconv)
 p(struct,linger)
 p(struct,link_map)
 p(struct,mld_hdr)
+p(struct,mmsghdr)
 p(struct,mntent)
 p(struct,mq_attr)
 p(struct,msgbuf)
@@ -531,6 +538,7 @@ p(struct,option)
 p(struct,packet_mreq)
 p(struct,passwd)
 p(struct,pollfd)
+p(struct,prctl_mm_map)
 p(struct,protoent)
 //p(struct,ptrace_peeksiginfo_args)
 p(struct,qelem)
@@ -596,7 +604,6 @@ p(struct,ucred)
 p(struct,udphdr)
 p(struct,user)
 p(struct,user_fpregs_struct)
-//p(struct,user_fpxregs_struct)
 p(struct,user_regs_struct)
 p(struct,utimbuf)
 p(struct,utmpx)
@@ -605,8 +612,12 @@ p(struct,winsize)
 p(,suseconds_t)
 p(,tcflag_t)
 //p(,tcp_seq)
+//p(,thrd_start_t)
+//p(,thrd_t)
 p(,time_t)
 p(,timer_t)
+//p(,tss_dtor_t)
+//p(,tss_t)
 p(,u_char)
 p(,u_int)
 p(,u_int16_t)