blob: 0d664f003ba072b65ff6b809a8723554692ef757 [file] [log] [blame]
Serban Constantinescu7f8863d2013-10-10 23:05:06 +01001/* Generated by gensyscalls.py. Do not edit. */
2
Elliott Hughesed744842013-11-07 10:31:05 -08003#include <private/bionic_asm.h>
Serban Constantinescu7f8863d2013-10-10 23:05:06 +01004
Sreeram Ramachandranceb5bd72014-05-12 11:19:16 -07005ENTRY(__connect)
Serban Constantinescu7f8863d2013-10-10 23:05:06 +01006 mov x8, __NR_connect
7 svc #0
8
Serban Constantinescu7f8863d2013-10-10 23:05:06 +01009 cmn x0, #(MAX_ERRNO + 1)
10 cneg x0, x0, hi
11 b.hi __set_errno
12
13 ret
Sreeram Ramachandranceb5bd72014-05-12 11:19:16 -070014END(__connect)
15.hidden __connect