Make progress towards aarch64 build

This commit is contained in:
Justine Tunney 2023-05-01 19:43:59 -07:00
parent 08ff26c817
commit ca2860947f
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
15428 changed files with 25694 additions and 23138 deletions

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_AddIPAddress,AddIPAddress,0
#ifdef __x86_64__
.text.windows
AddIPAddress:
push %rbp
@ -10,3 +11,4 @@ AddIPAddress:
jmp __sysv2nt6
.endfn AddIPAddress,globl
.previous
#endif

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_AllocateAndGetTcpExTableFromStack,AllocateAndGetTcpExTableFromStack,0
#ifdef __x86_64__
.text.windows
AllocateAndGetTcpExTableFromStack:
push %rbp
@ -10,3 +11,4 @@ AllocateAndGetTcpExTableFromStack:
jmp __sysv2nt6
.endfn AllocateAndGetTcpExTableFromStack,globl
.previous
#endif

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_AllocateAndGetUdpExTableFromStack,AllocateAndGetUdpExTableFromStack,0
#ifdef __x86_64__
.text.windows
AllocateAndGetUdpExTableFromStack:
push %rbp
@ -10,3 +11,4 @@ AllocateAndGetUdpExTableFromStack:
jmp __sysv2nt6
.endfn AllocateAndGetUdpExTableFromStack,globl
.previous
#endif

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_CancelIPChangeNotify,CancelIPChangeNotify,0
#ifdef __x86_64__
.text.windows
CancelIPChangeNotify:
push %rbp
@ -13,3 +14,4 @@ CancelIPChangeNotify:
ret
.endfn CancelIPChangeNotify,globl
.previous
#endif

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_CaptureInterfaceHardwareCrossTimestamp,CaptureInterfaceHardwareCrossTimestamp,0
#ifdef __x86_64__
.text.windows
CaptureInterfaceHardwareCrossTimestamp:
push %rbp
@ -10,3 +11,4 @@ CaptureInterfaceHardwareCrossTimestamp:
jmp __sysv2nt
.endfn CaptureInterfaceHardwareCrossTimestamp,globl
.previous
#endif

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_CreateIpForwardEntry,CreateIpForwardEntry,0
#ifdef __x86_64__
.text.windows
CreateIpForwardEntry:
push %rbp
@ -13,3 +14,4 @@ CreateIpForwardEntry:
ret
.endfn CreateIpForwardEntry,globl
.previous
#endif

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_CreateIpNetEntry,CreateIpNetEntry,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_CreatePersistentTcpPortReservation,CreatePersistentTcpPortReservation,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_CreatePersistentUdpPortReservation,CreatePersistentUdpPortReservation,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_CreateProxyArpEntry,CreateProxyArpEntry,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_DeleteIPAddress,DeleteIPAddress,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_DeleteIpForwardEntry,DeleteIpForwardEntry,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_DeleteIpNetEntry,DeleteIpNetEntry,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_DeletePersistentTcpPortReservation,DeletePersistentTcpPortReservation,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_DeletePersistentUdpPortReservation,DeletePersistentUdpPortReservation,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_DeleteProxyArpEntry,DeleteProxyArpEntry,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_DisableMediaSense,DisableMediaSense,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_EnableRouter,EnableRouter,0

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_FlushIpNetTable,FlushIpNetTable,0
#ifdef __x86_64__
.text.windows
FlushIpNetTable:
push %rbp
@ -13,3 +14,4 @@ FlushIpNetTable:
ret
.endfn FlushIpNetTable,globl
.previous
#endif

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetAdapterIndex,GetAdapterIndex,0
#ifdef __x86_64__
.text.windows
GetAdapterIndex:
push %rbp
@ -10,3 +11,4 @@ GetAdapterIndex:
jmp __sysv2nt
.endfn GetAdapterIndex,globl
.previous
#endif

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetAdapterOrderMap,GetAdapterOrderMap,0
#ifdef __x86_64__
.text.windows
GetAdapterOrderMap:
push %rbp
@ -12,3 +13,4 @@ GetAdapterOrderMap:
ret
.endfn GetAdapterOrderMap,globl
.previous
#endif

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetAdaptersAddresses,GetAdaptersAddresses,67
#ifdef __x86_64__
.text.windows
GetAdaptersAddresses:
push %rbp
@ -10,3 +11,4 @@ GetAdaptersAddresses:
jmp __sysv2nt6
.endfn GetAdaptersAddresses,globl
.previous
#endif

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetAdaptersInfo,GetAdaptersInfo,0
#ifdef __x86_64__
.text.windows
GetAdaptersInfo:
push %rbp
@ -10,3 +11,4 @@ GetAdaptersInfo:
jmp __sysv2nt
.endfn GetAdaptersInfo,globl
.previous
#endif

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetBestInterface,GetBestInterface,0
#ifdef __x86_64__
.text.windows
GetBestInterface:
push %rbp
@ -10,3 +11,4 @@ GetBestInterface:
jmp __sysv2nt
.endfn GetBestInterface,globl
.previous
#endif

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetBestInterfaceEx,GetBestInterfaceEx,0
#ifdef __x86_64__
.text.windows
GetBestInterfaceEx:
push %rbp
@ -10,3 +11,4 @@ GetBestInterfaceEx:
jmp __sysv2nt
.endfn GetBestInterfaceEx,globl
.previous
#endif

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetBestRoute,GetBestRoute,0
#ifdef __x86_64__
.text.windows
GetBestRoute:
push %rbp
@ -10,3 +11,4 @@ GetBestRoute:
jmp __sysv2nt
.endfn GetBestRoute,globl
.previous
#endif

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetExtendedTcpTable,GetExtendedTcpTable,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetExtendedUdpTable,GetExtendedUdpTable,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetFriendlyIfIndex,GetFriendlyIfIndex,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetIcmpStatistics,GetIcmpStatistics,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetIcmpStatisticsEx,GetIcmpStatisticsEx,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetIfEntry,GetIfEntry,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetIfTable,GetIfTable,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetInterfaceActiveTimestampCapabilities,GetInterfaceActiveTimestampCapabilities,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetInterfaceInfo,GetInterfaceInfo,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetInterfaceSupportedTimestampCapabilities,GetInterfaceSupportedTimestampCapabilities,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetIpAddrTable,GetIpAddrTable,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetIpErrorString,GetIpErrorString,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetIpForwardTable,GetIpForwardTable,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetIpNetTable,GetIpNetTable,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetIpStatistics,GetIpStatistics,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetIpStatisticsEx,GetIpStatisticsEx,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetNetworkParams,GetNetworkParams,0

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetNumberOfInterfaces,GetNumberOfInterfaces,0
#ifdef __x86_64__
.text.windows
GetNumberOfInterfaces:
push %rbp
@ -13,3 +14,4 @@ GetNumberOfInterfaces:
ret
.endfn GetNumberOfInterfaces,globl
.previous
#endif

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetOwnerModuleFromTcp6Entry,GetOwnerModuleFromTcp6Entry,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetOwnerModuleFromTcpEntry,GetOwnerModuleFromTcpEntry,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetOwnerModuleFromUdp6Entry,GetOwnerModuleFromUdp6Entry,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetOwnerModuleFromUdpEntry,GetOwnerModuleFromUdpEntry,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetPerAdapterInfo,GetPerAdapterInfo,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetPerTcp6ConnectionEStats,GetPerTcp6ConnectionEStats,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetPerTcpConnectionEStats,GetPerTcpConnectionEStats,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetRTTAndHopCount,GetRTTAndHopCount,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetTcp6Table,GetTcp6Table,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetTcp6Table2,GetTcp6Table2,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetTcpStatistics,GetTcpStatistics,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetTcpStatisticsEx,GetTcpStatisticsEx,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetTcpStatisticsEx2,GetTcpStatisticsEx2,0

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetTcpTable,GetTcpTable,0
#ifdef __x86_64__
.text.windows
GetTcpTable:
push %rbp
@ -10,3 +11,4 @@ GetTcpTable:
jmp __sysv2nt
.endfn GetTcpTable,globl
.previous
#endif

View file

@ -1,6 +1,7 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetTcpTable2,GetTcpTable2,0
#ifdef __x86_64__
.text.windows
GetTcpTable2:
push %rbp
@ -10,3 +11,4 @@ GetTcpTable2:
jmp __sysv2nt
.endfn GetTcpTable2,globl
.previous
#endif

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetUdp6Table,GetUdp6Table,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetUdpStatistics,GetUdpStatistics,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetUdpStatisticsEx,GetUdpStatisticsEx,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetUdpStatisticsEx2,GetUdpStatisticsEx2,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetUdpTable,GetUdpTable,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_GetUniDirectionalAdapterInfo,GetUniDirectionalAdapterInfo,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_IpReleaseAddress,IpReleaseAddress,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_IpRenewAddress,IpRenewAddress,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_LookupPersistentTcpPortReservation,LookupPersistentTcpPortReservation,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_LookupPersistentUdpPortReservation,LookupPersistentUdpPortReservation,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_NhpAllocateAndGetInterfaceInfoFromStack,NhpAllocateAndGetInterfaceInfoFromStack,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_NotifyAddrChange,NotifyAddrChange,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_NotifyRouteChange,NotifyRouteChange,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_ParseNetworkString,ParseNetworkString,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_RegisterInterfaceTimestampConfigChange,RegisterInterfaceTimestampConfigChange,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_ResolveNeighbor,ResolveNeighbor,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_RestoreMediaSense,RestoreMediaSense,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_SendARP,SendARP,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_SetIfEntry,SetIfEntry,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_SetIpForwardEntry,SetIpForwardEntry,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_SetIpNetEntry,SetIpNetEntry,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_SetIpStatistics,SetIpStatistics,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_SetIpStatisticsEx,SetIpStatisticsEx,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_SetIpTTL,SetIpTTL,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_SetPerTcp6ConnectionEStats,SetPerTcp6ConnectionEStats,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_SetPerTcpConnectionEStats,SetPerTcpConnectionEStats,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_SetTcpEntry,SetTcpEntry,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_UnenableRouter,UnenableRouter,0

View file

@ -1,2 +1,2 @@
.include "o/libc/nt/codegen.inc"
#include "libc/nt/codegen.h"
.imp iphlpapi,__imp_UnregisterInterfaceTimestampConfigChange,UnregisterInterfaceTimestampConfigChange,0