24 #define NULL ((void*)0)
96 #define PROT_WRITE 0x2
101 #define MAP_SHARED 0x01
102 #define MAP_PRIVATE 0x02
103 #define MAP_TYPE 0x0f
104 #define MAP_FIXED 0x10
106 #define MAP_ANONYMOUS 0x20
107 #define MAP_ANON MAP_ANONYMOUS
149 #define EDESTADDRREQ 89
151 #define EPROTOTYPE 91
152 #define ENOPROTOOPT 92
153 #define EPROTONOSUPPORT 93
154 #define ESOCKTNOSUPPORT 94
155 #define EOPNOTSUPP 95
156 #define EPFNOSUPPORT 96
157 #define EAFNOSUPPORT 97
158 #define EADDRINUSE 98
159 #define EADDRNOTAVAIL 99
161 #define ENETUNREACH 101
162 #define ENETRESET 102
163 #define ECONNABORTED 103
164 #define ECONNRESET 104
168 #define ESHUTDOWN 108
169 #define ETOOMANYREFS 109
170 #define ETIMEDOUT 110
171 #define ECONNREFUSED 111
172 #define EHOSTDOWN 112
173 #define EHOSTUNREACH 113
175 #define EINPROGRESS 115
181 #define EREMOTEIO 121
190 #define FD_SETSIZE 1024
192 #define NFDBITS (8 * sizeof (fd_mask))
193 #define __FDELT(d) ((d) / NFDBITS)
194 #define FDMASK(d) ((fd_mask) 1 << ((d) % NFDBITS))
201 # define __FDS_BITS(set) ((set)->fds_bits)
204 #define FD_ZERO(set) \
207 fd_set *__arr = (set); \
208 for (__i = 0; __i < sizeof (fd_set) / sizeof (fd_mask); ++__i) \
209 __FDS_BITS (__arr)[__i] = 0; \
212 #define FD_SET(d, set) (__FDS_BITS (set)[__FDELT (d)] |= FDMASK (d))
213 #define FD_CLR(d, set) (__FDS_BITS (set)[__FDELT (d)] &= ~FDMASK (d))
214 #define FD_ISSET(d, set) (__FDS_BITS (set)[__FDELT (d)] & FDMASK (d))
226 #define SOCK_STREAM SOCK_STREAM
229 #define SOCK_DGRAM SOCK_DGRAM
231 #define SOCK_RAW SOCK_RAW
233 #define SOCK_RDM SOCK_RDM
236 #define SOCK_SEQPACKET SOCK_SEQPACKET
240 #define SOCK_PACKET SOCK_PACKET
246 #define PF_UNIX PF_LOCAL
247 #define PF_FILE PF_LOCAL
251 #define PF_APPLETALK 5
266 #define PF_NETBEUI 13
267 #define PF_SECURITY 14
269 #define PF_NETLINK 16
270 #define PF_ROUTE PF_NETLINK
278 #define PF_WANPIPE 25
279 #define PF_BLUETOOTH 31
283 #define AF_UNSPEC PF_UNSPEC
284 #define AF_LOCAL PF_LOCAL
285 #define AF_UNIX PF_UNIX
286 #define AF_FILE PF_FILE
287 #define AF_INET PF_INET
288 #define AF_AX25 PF_AX25
289 #define AF_IPX PF_IPX
290 #define AF_APPLETALK PF_APPLETALK
291 #define AF_NETROM PF_NETROM
292 #define AF_BRIDGE PF_BRIDGE
293 #define AF_ATMPVC PF_ATMPVC
294 #define AF_X25 PF_X25
295 #define AF_INET6 PF_INET6
296 #define AF_ROSE PF_ROSE
297 #define AF_DECnet PF_DECnet
298 #define AF_NETBEUI PF_NETBEUI
299 #define AF_SECURITY PF_SECURITY
300 #define AF_KEY PF_KEY
301 #define AF_NETLINK PF_NETLINK
302 #define AF_ROUTE PF_ROUTE
303 #define AF_PACKET PF_PACKET
304 #define AF_ASH PF_ASH
305 #define AF_ECONET PF_ECONET
306 #define AF_ATMSVC PF_ATMSVC
307 #define AF_SNA PF_SNA
308 #define AF_IRDA PF_IRDA
309 #define AF_PPPOX PF_PPPOX
310 #define AF_WANPIPE PF_WANPIPE
311 #define AF_BLUETOOTH PF_BLUETOOTH
312 #define AF_MAX PF_MAX
315 #define SOL_DECNET 261
317 #define SOL_PACKET 263
323 #define __SOCKADDR_COMMON(sa_prefix) \
324 sa_family_t sa_prefix##family
325 #define __SOCKADDR_COMMON_SIZE (sizeof (unsigned short int))
367 #define IN6ADDR_ANY_INIT {{{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }}}
384 #define SCM_RIGHTS SCM_RIGHTS
386 SCM_CREDENTIALS = 0x02,
387 # define SCM_CREDENTIALS SCM_CREDENTIALS
416 # define CMSG_DATA(cmsg) ((unsigned char *) ((struct cmsghdr *) (cmsg) + 1))
417 #define CMSG_NXTHDR(mhdr, cmsg) __cmsg_nxthdr (mhdr, cmsg)
418 #define CMSG_FIRSTHDR(mhdr) \
419 ((size_t) (mhdr)->msg_controllen >= sizeof (struct cmsghdr) \
420 ? (struct cmsghdr *) (mhdr)->msg_control : (struct cmsghdr *) NULL)
421 #define CMSG_ALIGN(len) (((len) + sizeof (size_t) - 1) \
422 & (size_t) ~(sizeof (size_t) - 1))
423 #define CMSG_SPACE(len) (CMSG_ALIGN (len) \
424 + CMSG_ALIGN (sizeof (struct cmsghdr)))
425 #define CMSG_LEN(len) (CMSG_ALIGN (sizeof (struct cmsghdr)) + (len))
430 #define SO_REUSEADDR 2
433 #define SO_DONTROUTE 5
434 #define SO_BROADCAST 6
437 #define SO_KEEPALIVE 9
438 #define SO_OOBINLINE 10
439 #define SO_NO_CHECK 11
440 #define SO_PRIORITY 12
442 #define SO_BSDCOMPAT 14
444 #define SO_PASSCRED 16
445 #define SO_PEERCRED 17
446 #define SO_RCVLOWAT 18
447 #define SO_SNDLOWAT 19
448 #define SO_RCVTIMEO 20
449 #define SO_SNDTIMEO 21
452 #define SO_SECURITY_AUTHENTICATION 22
453 #define SO_SECURITY_ENCRYPTION_TRANSPORT 23
454 #define SO_SECURITY_ENCRYPTION_NETWORK 24
456 #define SO_BINDTODEVICE 25
459 #define SO_ATTACH_FILTER 26
460 #define SO_DETACH_FILTER 27
462 #define SO_PEERNAME 28
463 #define SO_TIMESTAMP 29
464 #define SCM_TIMESTAMP SO_TIMESTAMP
466 #define SO_ACCEPTCONN 30
471 #define IP(t,z,y,x) ((x)|(y)<<8|(z)<<16|(t)<<24)
474 #define IP(x,y,z,t) ((x)|(y)<<8|(z)<<16|(t)<<24)
475 #define htons(x) ((((x)&0xff)<<8)|(((x)>>8)&0xff))
478 #define ntohs(x) htons(x)
479 #define SA_IN(sa, ip, port) do{ (sa).sin_family=PF_INET; \
480 (sa).sin_port=(htons(port)); \
481 (sa).sin_addr.s_addr=(ip); \
485 #define O_ACCMODE 0003
491 #define O_NOCTTY 0400
492 #define O_TRUNC 01000
493 #define O_APPEND 02000
494 #define O_NONBLOCK 04000
495 #define O_NDELAY O_NONBLOCK
496 #define O_SYNC 010000
497 #define FASYNC 020000
498 #define O_DIRECT 040000
499 #define O_LARGEFILE 0100000
500 #define O_DIRECTORY 0200000
501 #define O_NOFOLLOW 0400000
519 #define F_SETLKW64 14
534 #define F_INPROGRESS 16
545 #define LOCK_WRITE 128
558 #define PT_TRACE_ME PTRACE_TRACEME
562 #define PT_READ_I PTRACE_PEEKTEXT
566 #define PT_READ_D PTRACE_PEEKDATA
570 #define PT_READ_U PTRACE_PEEKUSER
574 #define PT_WRITE_I PTRACE_POKETEXT
578 #define PT_WRITE_D PTRACE_POKEDATA
582 #define PT_WRITE_U PTRACE_POKEUSER
586 #define PT_CONTINUE PTRACE_CONT
590 #define PT_KILL PTRACE_KILL
595 #define PT_STEP PTRACE_SINGLESTEP
600 #define PT_GETREGS PTRACE_GETREGS
605 #define PT_SETREGS PTRACE_SETREGS
610 #define PT_GETFPREGS PTRACE_GETFPREGS
615 #define PT_SETFPREGS PTRACE_SETFPREGS
619 #define PT_ATTACH PTRACE_ATTACH
623 #define PT_DETACH PTRACE_DETACH
628 #define PT_GETFPXREGS PTRACE_GETFPXREGS
633 #define PT_SETFPXREGS PTRACE_SETFPXREGS
637 #define PT_SYSCALL PTRACE_SYSCALL
644 #define _IOC_NRBITS 8
645 #define _IOC_TYPEBITS 8
646 #define _IOC_SIZEBITS 14
647 #define _IOC_DIRBITS 2
649 #define _IOC_NRMASK ((1 << _IOC_NRBITS)-1)
650 #define _IOC_TYPEMASK ((1 << _IOC_TYPEBITS)-1)
651 #define _IOC_SIZEMASK ((1 << _IOC_SIZEBITS)-1)
652 #define _IOC_DIRMASK ((1 << _IOC_DIRBITS)-1)
654 #define _IOC_NRSHIFT 0
655 #define _IOC_TYPESHIFT (_IOC_NRSHIFT+_IOC_NRBITS)
656 #define _IOC_SIZESHIFT (_IOC_TYPESHIFT+_IOC_TYPEBITS)
657 #define _IOC_DIRSHIFT (_IOC_SIZESHIFT+_IOC_SIZEBITS)
663 #define _IOC_WRITE 1U
666 #define _IOC(dir,type,nr,size) \
667 (((dir) << _IOC_DIRSHIFT) | \
668 ((type) << _IOC_TYPESHIFT) | \
669 ((nr) << _IOC_NRSHIFT) | \
670 ((size) << _IOC_SIZESHIFT))
674 #define _IOC_TYPECHECK(t) \
675 ((sizeof(t) == sizeof(t[1]) && \
676 sizeof(t) < (1 << _IOC_SIZEBITS)) ? \
677 sizeof(t) : __invalid_size_argument_for_IOC)
680 #define _IO(type,nr) _IOC(_IOC_NONE,(type),(nr),0)
681 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size)))
682 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size)))
683 #define _IOWR(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size)))
684 #define _IOR_BAD(type,nr,size) _IOC(_IOC_READ,(type),(nr),sizeof(size))
685 #define _IOW_BAD(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),sizeof(size))
686 #define _IOWR_BAD(type,nr,size) _IOC(_IOC_READ|_IOC_WRITE,(type),(nr),sizeof(size))
689 #define _IOC_DIR(nr) (((nr) >> _IOC_DIRSHIFT) & _IOC_DIRMASK)
690 #define _IOC_TYPE(nr) (((nr) >> _IOC_TYPESHIFT) & _IOC_TYPEMASK)
691 #define _IOC_NR(nr) (((nr) >> _IOC_NRSHIFT) & _IOC_NRMASK)
692 #define _IOC_SIZE(nr) (((nr) >> _IOC_SIZESHIFT) & _IOC_SIZEMASK)
696 #define IOC_IN (_IOC_WRITE << _IOC_DIRSHIFT)
697 #define IOC_OUT (_IOC_READ << _IOC_DIRSHIFT)
698 #define IOC_INOUT ((_IOC_WRITE|_IOC_READ) << _IOC_DIRSHIFT)
699 #define IOCSIZE_MASK (_IOC_SIZEMASK << _IOC_SIZESHIFT)
700 #define IOCSIZE_SHIFT (_IOC_SIZESHIFT)
704 #define TCGETS 0x5401
705 #define TCSETS 0x5402
706 #define TCSETSW 0x5403
707 #define TCSETSF 0x5404
708 #define TCGETA 0x5405
709 #define TCSETA 0x5406
710 #define TCSETAW 0x5407
711 #define TCSETAF 0x5408
712 #define TCSBRK 0x5409
713 #define TCXONC 0x540A
714 #define TCFLSH 0x540B
715 #define TIOCEXCL 0x540C
716 #define TIOCNXCL 0x540D
717 #define TIOCSCTTY 0x540E
718 #define TIOCGPGRP 0x540F
719 #define TIOCSPGRP 0x5410
720 #define TIOCOUTQ 0x5411
721 #define TIOCSTI 0x5412
722 #define TIOCGWINSZ 0x5413
723 #define TIOCSWINSZ 0x5414
724 #define TIOCMGET 0x5415
725 #define TIOCMBIS 0x5416
726 #define TIOCMBIC 0x5417
727 #define TIOCMSET 0x5418
728 #define TIOCGSOFTCAR 0x5419
729 #define TIOCSSOFTCAR 0x541A
730 #define FIONREAD 0x541B
731 #define TIOCINQ FIONREAD
732 #define TIOCLINUX 0x541C
733 #define TIOCCONS 0x541D
734 #define TIOCGSERIAL 0x541E
735 #define TIOCSSERIAL 0x541F
736 #define TIOCPKT 0x5420
737 #define FIONBIO 0x5421
738 #define TIOCNOTTY 0x5422
739 #define TIOCSETD 0x5423
740 #define TIOCGETD 0x5424
741 #define TCSBRKP 0x5425
743 #define TIOCSBRK 0x5427
744 #define TIOCCBRK 0x5428
745 #define TIOCGSID 0x5429
746 #define TIOCGPTN _IOR('T',0x30, unsigned int)
747 #define TIOCSPTLCK _IOW('T',0x31, int)
749 #define FIONCLEX 0x5450
750 #define FIOCLEX 0x5451
751 #define FIOASYNC 0x5452
752 #define TIOCSERCONFIG 0x5453
753 #define TIOCSERGWILD 0x5454
754 #define TIOCSERSWILD 0x5455
755 #define TIOCGLCKTRMIOS 0x5456
756 #define TIOCSLCKTRMIOS 0x5457
757 #define TIOCSERGSTRUCT 0x5458
758 #define TIOCSERGETLSR 0x5459
759 #define TIOCSERGETMULTI 0x545A
760 #define TIOCSERSETMULTI 0x545B
762 #define TIOCMIWAIT 0x545C
763 #define TIOCGICOUNT 0x545D
764 #define TIOCGHAYESESP 0x545E
765 #define TIOCSHAYESESP 0x545F
766 #define FIOQSIZE 0x5460
769 #define TIOCPKT_DATA 0
770 #define TIOCPKT_FLUSHREAD 1
771 #define TIOCPKT_FLUSHWRITE 2
772 #define TIOCPKT_STOP 4
773 #define TIOCPKT_START 8
774 #define TIOCPKT_NOSTOP 16
775 #define TIOCPKT_DOSTOP 32
777 #define TIOCSER_TEMT 0x01
802 #define TIOCM_LE 0x001
803 #define TIOCM_DTR 0x002
804 #define TIOCM_RTS 0x004
805 #define TIOCM_ST 0x008
806 #define TIOCM_SR 0x010
807 #define TIOCM_CTS 0x020
808 #define TIOCM_CAR 0x040
809 #define TIOCM_RNG 0x080
810 #define TIOCM_DSR 0x100
811 #define TIOCM_CD TIOCM_CAR
812 #define TIOCM_RI TIOCM_RNG
813 #define TIOCM_OUT1 0x2000
814 #define TIOCM_OUT2 0x4000
815 #define TIOCM_LOOP 0x8000
830 #define N_PROFIBUS_FDL 10
832 #define N_SMSBLOCK 12
834 #define N_SYNC_PPP 14
871 #define IGNBRK 0000001
872 #define BRKINT 0000002
873 #define IGNPAR 0000004
874 #define PARMRK 0000010
875 #define INPCK 0000020
876 #define ISTRIP 0000040
877 #define INLCR 0000100
878 #define IGNCR 0000200
879 #define ICRNL 0000400
880 #define IUCLC 0001000
882 #define IXANY 0004000
883 #define IXOFF 0010000
884 #define IMAXBEL 0020000
887 #define OPOST 0000001
888 #define OLCUC 0000002
889 #define ONLCR 0000004
890 #define OCRNL 0000010
891 #define ONOCR 0000020
892 #define ONLRET 0000040
893 #define OFILL 0000100
894 #define OFDEL 0000200
895 #define NLDLY 0000400
898 #define CRDLY 0003000
903 #define TABDLY 0014000
908 #define XTABS 0014000
909 #define BSDLY 0020000
912 #define VTDLY 0040000
915 #define FFDLY 0100000
920 #define CBAUD 0010017
930 #define B1200 0000011
931 #define B1800 0000012
932 #define B2400 0000013
933 #define B4800 0000014
934 #define B9600 0000015
935 #define B19200 0000016
936 #define B38400 0000017
939 #define CSIZE 0000060
944 #define CSTOPB 0000100
945 #define CREAD 0000200
946 #define PARENB 0000400
947 #define PARODD 0001000
948 #define HUPCL 0002000
949 #define CLOCAL 0004000
950 #define CBAUDEX 0010000
951 #define B57600 0010001
952 #define B115200 0010002
953 #define B230400 0010003
954 #define B460800 0010004
955 #define B500000 0010005
956 #define B576000 0010006
957 #define B921600 0010007
958 #define B1000000 0010010
959 #define B1152000 0010011
960 #define B1500000 0010012
961 #define B2000000 0010013
962 #define B2500000 0010014
963 #define B3000000 0010015
964 #define B3500000 0010016
965 #define B4000000 0010017
966 #define CIBAUD 002003600000
967 #define CMSPAR 010000000000
968 #define CRTSCTS 020000000000
972 #define ICANON 0000002
973 #define XCASE 0000004
975 #define ECHOE 0000020
976 #define ECHOK 0000040
977 #define ECHONL 0000100
978 #define NOFLSH 0000200
979 #define TOSTOP 0000400
980 #define ECHOCTL 0001000
981 #define ECHOPRT 0002000
982 #define ECHOKE 0004000
983 #define FLUSHO 0010000
984 #define PENDIN 0040000
985 #define IEXTEN 0100000
1047 #define EI_NIDENT (16)
1090 #define ELFMAG0 0x7f
1102 #define ELFMAG "\177ELF"
1106 #define ELFCLASSNONE 0
1107 #define ELFCLASS32 1
1108 #define ELFCLASS64 2
1109 #define ELFCLASSNUM 3
1112 #define ELFDATANONE 0
1113 #define ELFDATA2LSB 1
1114 #define ELFDATA2MSB 2
1115 #define ELFDATANUM 3
1117 #define EI_VERSION 6
1121 #define ELFOSABI_NONE 0
1122 #define ELFOSABI_SYSV 0
1123 #define ELFOSABI_HPUX 1
1124 #define ELFOSABI_NETBSD 2
1125 #define ELFOSABI_LINUX 3
1126 #define ELFOSABI_SOLARIS 6
1127 #define ELFOSABI_AIX 7
1128 #define ELFOSABI_IRIX 8
1129 #define ELFOSABI_FREEBSD 9
1130 #define ELFOSABI_TRU64 10
1131 #define ELFOSABI_MODESTO 11
1132 #define ELFOSABI_OPENBSD 12
1133 #define ELFOSABI_ARM 97
1134 #define ELFOSABI_STANDALONE 255
1136 #define EI_ABIVERSION 8
1148 #define ET_LOOS 0xfe00
1149 #define ET_HIOS 0xfeff
1150 #define ET_LOPROC 0xff00
1151 #define ET_HIPROC 0xffff
1164 #define EM_MIPS_RS3_LE 10
1166 #define EM_PARISC 15
1167 #define EM_VPP500 17
1168 #define EM_SPARC32PLUS 18
1179 #define EM_FAKE_ALPHA 41
1181 #define EM_SPARCV9 43
1182 #define EM_TRICORE 44
1184 #define EM_H8_300 46
1185 #define EM_H8_300H 47
1187 #define EM_H8_500 49
1189 #define EM_MIPS_X 51
1190 #define EM_COLDFIRE 52
1191 #define EM_68HC12 53
1196 #define EM_STARCORE 58
1200 #define EM_X86_64 62
1204 #define EM_ST9PLUS 67
1206 #define EM_68HC16 69
1207 #define EM_68HC11 70
1208 #define EM_68HC08 71
1209 #define EM_68HC05 72
1214 #define EM_JAVELIN 77
1215 #define EM_FIREPATH 78
1226 #define EM_MN10300 89
1227 #define EM_MN10200 90
1229 #define EM_OPENRISC 92
1230 #define EM_ARC_A5 93
1231 #define EM_XTENSA 94
1238 #define EM_ALPHA 0x9026
1243 #define EV_CURRENT 1
1279 #define SHN_LORESERVE 0xff00
1280 #define SHN_LOPROC 0xff00
1281 #define SHN_BEFORE 0xff00
1283 #define SHN_AFTER 0xff01
1285 #define SHN_HIPROC 0xff1f
1286 #define SHN_LOOS 0xff20
1287 #define SHN_HIOS 0xff3f
1288 #define SHN_ABS 0xfff1
1289 #define SHN_COMMON 0xfff2
1290 #define SHN_XINDEX 0xffff
1291 #define SHN_HIRESERVE 0xffff
1296 #define SHT_PROGBITS 1
1297 #define SHT_SYMTAB 2
1298 #define SHT_STRTAB 3
1301 #define SHT_DYNAMIC 6
1303 #define SHT_NOBITS 8
1305 #define SHT_SHLIB 10
1306 #define SHT_DYNSYM 11
1307 #define SHT_INIT_ARRAY 14
1308 #define SHT_FINI_ARRAY 15
1309 #define SHT_PREINIT_ARRAY 16
1310 #define SHT_GROUP 17
1311 #define SHT_SYMTAB_SHNDX 18
1313 #define SHT_LOOS 0x60000000
1314 #define SHT_GNU_LIBLIST 0x6ffffff7
1315 #define SHT_CHECKSUM 0x6ffffff8
1316 #define SHT_LOSUNW 0x6ffffffa
1317 #define SHT_SUNW_move 0x6ffffffa
1318 #define SHT_SUNW_COMDAT 0x6ffffffb
1319 #define SHT_SUNW_syminfo 0x6ffffffc
1320 #define SHT_GNU_verdef 0x6ffffffd
1321 #define SHT_GNU_verneed 0x6ffffffe
1322 #define SHT_GNU_versym 0x6fffffff
1323 #define SHT_HISUNW 0x6fffffff
1324 #define SHT_HIOS 0x6fffffff
1325 #define SHT_LOPROC 0x70000000
1326 #define SHT_HIPROC 0x7fffffff
1327 #define SHT_LOUSER 0x80000000
1328 #define SHT_HIUSER 0x8fffffff
1332 #define SHF_WRITE (1 << 0)
1333 #define SHF_ALLOC (1 << 1)
1334 #define SHF_EXECINSTR (1 << 2)
1335 #define SHF_MERGE (1 << 4)
1336 #define SHF_STRINGS (1 << 5)
1337 #define SHF_INFO_LINK (1 << 6)
1338 #define SHF_LINK_ORDER (1 << 7)
1339 #define SHF_OS_NONCONFORMING (1 << 8)
1341 #define SHF_GROUP (1 << 9)
1342 #define SHF_TLS (1 << 10)
1343 #define SHF_MASKOS 0x0ff00000
1344 #define SHF_MASKPROC 0xf0000000
1345 #define SHF_ORDERED (1 << 30)
1347 #define SHF_EXCLUDE (1 << 31)
1351 #define GRP_COMDAT 0x1
1360 unsigned char st_info;
1361 unsigned char st_other;
1368 unsigned char st_info;
1369 unsigned char st_other;
1391 #define SYMINFO_BT_SELF 0xffff
1392 #define SYMINFO_BT_PARENT 0xfffe
1393 #define SYMINFO_BT_LOWRESERVE 0xff00
1396 #define SYMINFO_FLG_DIRECT 0x0001
1397 #define SYMINFO_FLG_PASSTHRU 0x0002
1398 #define SYMINFO_FLG_COPY 0x0004
1399 #define SYMINFO_FLG_LAZYLOAD 0x0008
1402 #define SYMINFO_NONE 0
1403 #define SYMINFO_CURRENT 1
1404 #define SYMINFO_NUM 2
1409 #define ELF32_ST_BIND(val) (((unsigned char) (val)) >> 4)
1410 #define ELF32_ST_TYPE(val) ((val) & 0xf)
1411 #define ELF32_ST_INFO(bind, type) (((bind) << 4) + ((type) & 0xf))
1414 #define ELF64_ST_BIND(val) ELF32_ST_BIND (val)
1415 #define ELF64_ST_TYPE(val) ELF32_ST_TYPE (val)
1416 #define ELF64_ST_INFO(bind, type) ELF32_ST_INFO ((bind), (type))
1421 #define STB_GLOBAL 1
1426 #define STB_LOPROC 13
1427 #define STB_HIPROC 15
1431 #define STT_NOTYPE 0
1432 #define STT_OBJECT 1
1434 #define STT_SECTION 3
1436 #define STT_COMMON 5
1441 #define STT_LOPROC 13
1442 #define STT_HIPROC 15
1454 #define ELF32_ST_VISIBILITY(o) ((o) & 0x03)
1457 #define ELF64_ST_VISIBILITY(o) ELF32_ST_VISIBILITY (o)
1460 #define STV_DEFAULT 0
1461 #define STV_INTERNAL 1
1462 #define STV_HIDDEN 2
1463 #define STV_PROTECTED 3
1503 #define ELF32_R_SYM(val) ((val) >> 8)
1504 #define ELF32_R_TYPE(val) ((val) & 0xff)
1505 #define ELF32_R_INFO(sym, type) (((sym) << 8) + ((type) & 0xff))
1507 #define ELF64_R_SYM(i) ((i) >> 32)
1508 #define ELF64_R_TYPE(i) ((i) & 0xffffffff)
1509 #define ELF64_R_INFO(sym,type) ((((Elf64_Xword) (sym)) << 32) + (type))
1541 #define PT_DYNAMIC 2
1548 #define PT_LOOS 0x60000000
1549 #define PT_GNU_EH_FRAME 0x6474e550
1550 #define PT_GNU_STACK 0x6474e551
1551 #define PT_GNU_RELRO 0x6474e552
1552 #define PT_LOSUNW 0x6ffffffa
1553 #define PT_SUNWBSS 0x6ffffffa
1554 #define PT_SUNWSTACK 0x6ffffffb
1555 #define PT_HISUNW 0x6fffffff
1556 #define PT_HIOS 0x6fffffff
1557 #define PT_LOPROC 0x70000000
1558 #define PT_HIPROC 0x7fffffff
1562 #define PF_X (1 << 0)
1563 #define PF_W (1 << 1)
1564 #define PF_R (1 << 2)
1565 #define PF_MASKOS 0x0ff00000
1566 #define PF_MASKPROC 0xf0000000
1570 #define NT_PRSTATUS 1
1571 #define NT_FPREGSET 2
1572 #define NT_PRPSINFO 3
1574 #define NT_TASKSTRUCT 4
1575 #define NT_PLATFORM 5
1577 #define NT_GWINDOWS 7
1579 #define NT_PSTATUS 10
1580 #define NT_PSINFO 13
1581 #define NT_PRCRED 14
1582 #define NT_UTSNAME 15
1583 #define NT_LWPSTATUS 16
1584 #define NT_LWPSINFO 17
1585 #define NT_PRFPXREG 20
1589 #define NT_VERSION 1
1618 #define DT_PLTRELSZ 2
1625 #define DT_RELAENT 9
1627 #define DT_SYMENT 11
1630 #define DT_SONAME 14
1632 #define DT_SYMBOLIC 16
1635 #define DT_RELENT 19
1636 #define DT_PLTREL 20
1638 #define DT_TEXTREL 22
1639 #define DT_JMPREL 23
1640 #define DT_BIND_NOW 24
1641 #define DT_INIT_ARRAY 25
1642 #define DT_FINI_ARRAY 26
1643 #define DT_INIT_ARRAYSZ 27
1644 #define DT_FINI_ARRAYSZ 28
1645 #define DT_RUNPATH 29
1647 #define DT_ENCODING 32
1648 #define DT_PREINIT_ARRAY 32
1649 #define DT_PREINIT_ARRAYSZ 33
1651 #define DT_LOOS 0x6000000d
1652 #define DT_HIOS 0x6ffff000
1653 #define DT_LOPROC 0x70000000
1654 #define DT_HIPROC 0x7fffffff
1655 #define DT_PROCNUM DT_MIPS_NUM
1660 #define DT_VALRNGLO 0x6ffffd00
1661 #define DT_GNU_PRELINKED 0x6ffffdf5
1662 #define DT_GNU_CONFLICTSZ 0x6ffffdf6
1663 #define DT_GNU_LIBLISTSZ 0x6ffffdf7
1664 #define DT_CHECKSUM 0x6ffffdf8
1665 #define DT_PLTPADSZ 0x6ffffdf9
1666 #define DT_MOVEENT 0x6ffffdfa
1667 #define DT_MOVESZ 0x6ffffdfb
1668 #define DT_FEATURE_1 0x6ffffdfc
1669 #define DT_POSFLAG_1 0x6ffffdfd
1671 #define DT_SYMINSZ 0x6ffffdfe
1672 #define DT_SYMINENT 0x6ffffdff
1673 #define DT_VALRNGHI 0x6ffffdff
1674 #define DT_VALTAGIDX(tag) (DT_VALRNGHI - (tag))
1675 #define DT_VALNUM 12
1682 #define DT_ADDRRNGLO 0x6ffffe00
1683 #define DT_GNU_CONFLICT 0x6ffffef8
1684 #define DT_GNU_LIBLIST 0x6ffffef9
1685 #define DT_CONFIG 0x6ffffefa
1686 #define DT_DEPAUDIT 0x6ffffefb
1687 #define DT_AUDIT 0x6ffffefc
1688 #define DT_PLTPAD 0x6ffffefd
1689 #define DT_MOVETAB 0x6ffffefe
1690 #define DT_SYMINFO 0x6ffffeff
1691 #define DT_ADDRRNGHI 0x6ffffeff
1692 #define DT_ADDRTAGIDX(tag) (DT_ADDRRNGHI - (tag))
1693 #define DT_ADDRNUM 10
1697 #define DT_VERSYM 0x6ffffff0
1699 #define DT_RELACOUNT 0x6ffffff9
1700 #define DT_RELCOUNT 0x6ffffffa
1703 #define DT_FLAGS_1 0x6ffffffb
1704 #define DT_VERDEF 0x6ffffffc
1706 #define DT_VERDEFNUM 0x6ffffffd
1707 #define DT_VERNEED 0x6ffffffe
1709 #define DT_VERNEEDNUM 0x6fffffff
1710 #define DT_VERSIONTAGIDX(tag) (DT_VERNEEDNUM - (tag))
1711 #define DT_VERSIONTAGNUM 16
1715 #define DT_AUXILIARY 0x7ffffffd
1716 #define DT_FILTER 0x7fffffff
1717 #define DT_EXTRATAGIDX(tag) ((Elf32_Word)-((Elf32_Sword) (tag) <<1>>1)-1)
1718 #define DT_EXTRANUM 3
1721 #define DF_ORIGIN 0x00000001
1722 #define DF_SYMBOLIC 0x00000002
1723 #define DF_TEXTREL 0x00000004
1724 #define DF_BIND_NOW 0x00000008
1725 #define DF_STATIC_TLS 0x00000010
1729 #define DF_1_NOW 0x00000001
1730 #define DF_1_GLOBAL 0x00000002
1731 #define DF_1_GROUP 0x00000004
1732 #define DF_1_NODELETE 0x00000008
1733 #define DF_1_LOADFLTR 0x00000010
1734 #define DF_1_INITFIRST 0x00000020
1735 #define DF_1_NOOPEN 0x00000040
1736 #define DF_1_ORIGIN 0x00000080
1737 #define DF_1_DIRECT 0x00000100
1738 #define DF_1_TRANS 0x00000200
1739 #define DF_1_INTERPOSE 0x00000400
1740 #define DF_1_NODEFLIB 0x00000800
1741 #define DF_1_NODUMP 0x00001000
1742 #define DF_1_CONFALT 0x00002000
1743 #define DF_1_ENDFILTEE 0x00004000
1744 #define DF_1_DISPRELDNE 0x00008000
1745 #define DF_1_DISPRELPND 0x00010000
1748 #define DTF_1_PARINIT 0x00000001
1749 #define DTF_1_CONFEXP 0x00000002
1752 #define DF_P1_LAZYLOAD 0x00000001
1753 #define DF_P1_GROUPPERM 0x00000002
1784 #define VER_DEF_NONE 0
1785 #define VER_DEF_CURRENT 1
1786 #define VER_DEF_NUM 2
1789 #define VER_FLG_BASE 0x1
1790 #define VER_FLG_WEAK 0x2
1793 #define VER_NDX_LOCAL 0
1794 #define VER_NDX_GLOBAL 1
1795 #define VER_NDX_LORESERVE 0xff00
1796 #define VER_NDX_ELIMINATE 0xff01
1841 #define VER_NEED_NONE 0
1842 #define VER_NEED_CURRENT 1
1843 #define VER_NEED_NUM 2
1869 #define VER_FLG_WEAK 0x2
1888 void (*a_fcn) (void);
1899 void (*a_fcn) (void);
1915 #define AT_NOTELF 10
1920 #define AT_CLKTCK 17
1923 #define AT_PLATFORM 15
1932 #define AT_DCACHEBSIZE 19
1933 #define AT_ICACHEBSIZE 20
1934 #define AT_UCACHEBSIZE 21
1938 #define AT_IGNOREPPC 22
1940 #define AT_SECURE 23
1944 #define AT_SYSINFO 32
1945 #define AT_SYSINFO_EHDR 33
1949 #define AT_L1I_CACHESHAPE 34
1950 #define AT_L1D_CACHESHAPE 35
1951 #define AT_L2_CACHESHAPE 36
1952 #define AT_L3_CACHESHAPE 37
1974 #define ELF_NOTE_SOLARIS "SUNW Solaris"
1977 #define ELF_NOTE_GNU "GNU"
1983 #define ELF_NOTE_PAGESIZE_HINT 1
1994 #define ELF_NOTE_ABI 1
1998 #define ELF_NOTE_OS_LINUX 0
1999 #define ELF_NOTE_OS_GNU 1
2000 #define ELF_NOTE_OS_SOLARIS2 2
2001 #define ELF_NOTE_OS_FREEBSD 3
2024 #define ELF32_M_SYM(info) ((info) >> 8)
2025 #define ELF32_M_SIZE(info) ((unsigned char) (info))
2026 #define ELF32_M_INFO(sym, size) (((sym) << 8) + (unsigned char) (size))
2028 #define ELF64_M_SYM(info) ELF32_M_SYM (info)
2029 #define ELF64_M_SIZE(info) ELF32_M_SIZE (info)
2030 #define ELF64_M_INFO(sym, size) ELF32_M_INFO (sym, size)
2036 #define EF_CPU32 0x00810000
2040 #define R_68K_NONE 0
2044 #define R_68K_PC32 4
2045 #define R_68K_PC16 5
2047 #define R_68K_GOT32 7
2048 #define R_68K_GOT16 8
2049 #define R_68K_GOT8 9
2050 #define R_68K_GOT32O 10
2051 #define R_68K_GOT16O 11
2052 #define R_68K_GOT8O 12
2053 #define R_68K_PLT32 13
2054 #define R_68K_PLT16 14
2055 #define R_68K_PLT8 15
2056 #define R_68K_PLT32O 16
2057 #define R_68K_PLT16O 17
2058 #define R_68K_PLT8O 18
2059 #define R_68K_COPY 19
2060 #define R_68K_GLOB_DAT 20
2061 #define R_68K_JMP_SLOT 21
2062 #define R_68K_RELATIVE 22
2064 #define R_68K_NUM 23
2070 #define R_386_NONE 0
2072 #define R_386_PC32 2
2073 #define R_386_GOT32 3
2074 #define R_386_PLT32 4
2075 #define R_386_COPY 5
2076 #define R_386_GLOB_DAT 6
2077 #define R_386_JMP_SLOT 7
2078 #define R_386_RELATIVE 8
2079 #define R_386_GOTOFF 9
2080 #define R_386_GOTPC 10
2081 #define R_386_32PLT 11
2082 #define R_386_TLS_TPOFF 14
2083 #define R_386_TLS_IE 15
2085 #define R_386_TLS_GOTIE 16
2087 #define R_386_TLS_LE 17
2089 #define R_386_TLS_GD 18
2091 #define R_386_TLS_LDM 19
2095 #define R_386_PC16 21
2097 #define R_386_PC8 23
2098 #define R_386_TLS_GD_32 24
2100 #define R_386_TLS_GD_PUSH 25
2101 #define R_386_TLS_GD_CALL 26
2103 #define R_386_TLS_GD_POP 27
2104 #define R_386_TLS_LDM_32 28
2106 #define R_386_TLS_LDM_PUSH 29
2107 #define R_386_TLS_LDM_CALL 30
2109 #define R_386_TLS_LDM_POP 31
2110 #define R_386_TLS_LDO_32 32
2111 #define R_386_TLS_IE_32 33
2113 #define R_386_TLS_LE_32 34
2115 #define R_386_TLS_DTPMOD32 35
2116 #define R_386_TLS_DTPOFF32 36
2117 #define R_386_TLS_TPOFF32 37
2119 #define R_386_NUM 38
2125 #define STT_SPARC_REGISTER 13
2129 #define EF_SPARCV9_MM 3
2130 #define EF_SPARCV9_TSO 0
2131 #define EF_SPARCV9_PSO 1
2132 #define EF_SPARCV9_RMO 2
2133 #define EF_SPARC_LEDATA 0x800000
2134 #define EF_SPARC_EXT_MASK 0xFFFF00
2135 #define EF_SPARC_32PLUS 0x000100
2136 #define EF_SPARC_SUN_US1 0x000200
2137 #define EF_SPARC_HAL_R1 0x000400
2138 #define EF_SPARC_SUN_US3 0x000800
2142 #define R_SPARC_NONE 0
2144 #define R_SPARC_16 2
2145 #define R_SPARC_32 3
2146 #define R_SPARC_DISP8 4
2147 #define R_SPARC_DISP16 5
2148 #define R_SPARC_DISP32 6
2149 #define R_SPARC_WDISP30 7
2150 #define R_SPARC_WDISP22 8
2151 #define R_SPARC_HI22 9
2152 #define R_SPARC_22 10
2153 #define R_SPARC_13 11
2154 #define R_SPARC_LO10 12
2155 #define R_SPARC_GOT10 13
2156 #define R_SPARC_GOT13 14
2157 #define R_SPARC_GOT22 15
2158 #define R_SPARC_PC10 16
2159 #define R_SPARC_PC22 17
2160 #define R_SPARC_WPLT30 18
2161 #define R_SPARC_COPY 19
2162 #define R_SPARC_GLOB_DAT 20
2163 #define R_SPARC_JMP_SLOT 21
2164 #define R_SPARC_RELATIVE 22
2165 #define R_SPARC_UA32 23
2169 #define R_SPARC_PLT32 24
2170 #define R_SPARC_HIPLT22 25
2171 #define R_SPARC_LOPLT10 26
2172 #define R_SPARC_PCPLT32 27
2173 #define R_SPARC_PCPLT22 28
2174 #define R_SPARC_PCPLT10 29
2175 #define R_SPARC_10 30
2176 #define R_SPARC_11 31
2177 #define R_SPARC_64 32
2178 #define R_SPARC_OLO10 33
2179 #define R_SPARC_HH22 34
2180 #define R_SPARC_HM10 35
2181 #define R_SPARC_LM22 36
2182 #define R_SPARC_PC_HH22 37
2183 #define R_SPARC_PC_HM10 38
2184 #define R_SPARC_PC_LM22 39
2185 #define R_SPARC_WDISP16 40
2186 #define R_SPARC_WDISP19 41
2187 #define R_SPARC_7 43
2188 #define R_SPARC_5 44
2189 #define R_SPARC_6 45
2190 #define R_SPARC_DISP64 46
2191 #define R_SPARC_PLT64 47
2192 #define R_SPARC_HIX22 48
2193 #define R_SPARC_LOX10 49
2194 #define R_SPARC_H44 50
2195 #define R_SPARC_M44 51
2196 #define R_SPARC_L44 52
2197 #define R_SPARC_REGISTER 53
2198 #define R_SPARC_UA64 54
2199 #define R_SPARC_UA16 55
2200 #define R_SPARC_TLS_GD_HI22 56
2201 #define R_SPARC_TLS_GD_LO10 57
2202 #define R_SPARC_TLS_GD_ADD 58
2203 #define R_SPARC_TLS_GD_CALL 59
2204 #define R_SPARC_TLS_LDM_HI22 60
2205 #define R_SPARC_TLS_LDM_LO10 61
2206 #define R_SPARC_TLS_LDM_ADD 62
2207 #define R_SPARC_TLS_LDM_CALL 63
2208 #define R_SPARC_TLS_LDO_HIX22 64
2209 #define R_SPARC_TLS_LDO_LOX10 65
2210 #define R_SPARC_TLS_LDO_ADD 66
2211 #define R_SPARC_TLS_IE_HI22 67
2212 #define R_SPARC_TLS_IE_LO10 68
2213 #define R_SPARC_TLS_IE_LD 69
2214 #define R_SPARC_TLS_IE_LDX 70
2215 #define R_SPARC_TLS_IE_ADD 71
2216 #define R_SPARC_TLS_LE_HIX22 72
2217 #define R_SPARC_TLS_LE_LOX10 73
2218 #define R_SPARC_TLS_DTPMOD32 74
2219 #define R_SPARC_TLS_DTPMOD64 75
2220 #define R_SPARC_TLS_DTPOFF32 76
2221 #define R_SPARC_TLS_DTPOFF64 77
2222 #define R_SPARC_TLS_TPOFF32 78
2223 #define R_SPARC_TLS_TPOFF64 79
2225 #define R_SPARC_NUM 80
2229 #define DT_SPARC_REGISTER 0x70000001
2230 #define DT_SPARC_NUM 2
2234 #define HWCAP_SPARC_FLUSH 1
2235 #define HWCAP_SPARC_STBAR 2
2236 #define HWCAP_SPARC_SWAP 4
2237 #define HWCAP_SPARC_MULDIV 8
2238 #define HWCAP_SPARC_V9 16
2239 #define HWCAP_SPARC_ULTRA3 32
2245 #define EF_MIPS_NOREORDER 1
2246 #define EF_MIPS_PIC 2
2247 #define EF_MIPS_CPIC 4
2248 #define EF_MIPS_XGOT 8
2249 #define EF_MIPS_64BIT_WHIRL 16
2250 #define EF_MIPS_ABI2 32
2251 #define EF_MIPS_ABI_ON32 64
2252 #define EF_MIPS_ARCH 0xf0000000
2256 #define EF_MIPS_ARCH_1 0x00000000
2257 #define EF_MIPS_ARCH_2 0x10000000
2258 #define EF_MIPS_ARCH_3 0x20000000
2259 #define EF_MIPS_ARCH_4 0x30000000
2260 #define EF_MIPS_ARCH_5 0x40000000
2261 #define EF_MIPS_ARCH_32 0x60000000
2262 #define EF_MIPS_ARCH_64 0x70000000
2266 #define E_MIPS_ARCH_1 0x00000000
2267 #define E_MIPS_ARCH_2 0x10000000
2268 #define E_MIPS_ARCH_3 0x20000000
2269 #define E_MIPS_ARCH_4 0x30000000
2270 #define E_MIPS_ARCH_5 0x40000000
2271 #define E_MIPS_ARCH_32 0x60000000
2272 #define E_MIPS_ARCH_64 0x70000000
2276 #define SHN_MIPS_ACOMMON 0xff00
2277 #define SHN_MIPS_TEXT 0xff01
2278 #define SHN_MIPS_DATA 0xff02
2279 #define SHN_MIPS_SCOMMON 0xff03
2280 #define SHN_MIPS_SUNDEFINED 0xff04
2284 #define SHT_MIPS_LIBLIST 0x70000000
2285 #define SHT_MIPS_MSYM 0x70000001
2286 #define SHT_MIPS_CONFLICT 0x70000002
2287 #define SHT_MIPS_GPTAB 0x70000003
2288 #define SHT_MIPS_UCODE 0x70000004
2289 #define SHT_MIPS_DEBUG 0x70000005
2290 #define SHT_MIPS_REGINFO 0x70000006
2291 #define SHT_MIPS_PACKAGE 0x70000007
2292 #define SHT_MIPS_PACKSYM 0x70000008
2293 #define SHT_MIPS_RELD 0x70000009
2294 #define SHT_MIPS_IFACE 0x7000000b
2295 #define SHT_MIPS_CONTENT 0x7000000c
2296 #define SHT_MIPS_OPTIONS 0x7000000d
2297 #define SHT_MIPS_SHDR 0x70000010
2298 #define SHT_MIPS_FDESC 0x70000011
2299 #define SHT_MIPS_EXTSYM 0x70000012
2300 #define SHT_MIPS_DENSE 0x70000013
2301 #define SHT_MIPS_PDESC 0x70000014
2302 #define SHT_MIPS_LOCSYM 0x70000015
2303 #define SHT_MIPS_AUXSYM 0x70000016
2304 #define SHT_MIPS_OPTSYM 0x70000017
2305 #define SHT_MIPS_LOCSTR 0x70000018
2306 #define SHT_MIPS_LINE 0x70000019
2307 #define SHT_MIPS_RFDESC 0x7000001a
2308 #define SHT_MIPS_DELTASYM 0x7000001b
2309 #define SHT_MIPS_DELTAINST 0x7000001c
2310 #define SHT_MIPS_DELTACLASS 0x7000001d
2311 #define SHT_MIPS_DWARF 0x7000001e
2312 #define SHT_MIPS_DELTADECL 0x7000001f
2313 #define SHT_MIPS_SYMBOL_LIB 0x70000020
2314 #define SHT_MIPS_EVENTS 0x70000021
2315 #define SHT_MIPS_TRANSLATE 0x70000022
2316 #define SHT_MIPS_PIXIE 0x70000023
2317 #define SHT_MIPS_XLATE 0x70000024
2318 #define SHT_MIPS_XLATE_DEBUG 0x70000025
2319 #define SHT_MIPS_WHIRL 0x70000026
2320 #define SHT_MIPS_EH_REGION 0x70000027
2321 #define SHT_MIPS_XLATE_OLD 0x70000028
2322 #define SHT_MIPS_PDR_EXCEPTION 0x70000029
2326 #define SHF_MIPS_GPREL 0x10000000
2327 #define SHF_MIPS_MERGE 0x20000000
2328 #define SHF_MIPS_ADDR 0x40000000
2329 #define SHF_MIPS_STRINGS 0x80000000
2330 #define SHF_MIPS_NOSTRIP 0x08000000
2331 #define SHF_MIPS_LOCAL 0x04000000
2332 #define SHF_MIPS_NAMES 0x02000000
2333 #define SHF_MIPS_NODUPE 0x01000000
2339 #define STO_MIPS_DEFAULT 0x0
2340 #define STO_MIPS_INTERNAL 0x1
2341 #define STO_MIPS_HIDDEN 0x2
2342 #define STO_MIPS_PROTECTED 0x3
2343 #define STO_MIPS_SC_ALIGN_UNUSED 0xff
2346 #define STB_MIPS_SPLIT_COMMON 13
2388 #define ODK_REGINFO 1
2389 #define ODK_EXCEPTIONS 2
2391 #define ODK_HWPATCH 4
2399 #define OEX_FPU_MIN 0x1f
2400 #define OEX_FPU_MAX 0x1f00
2401 #define OEX_PAGE0 0x10000
2402 #define OEX_SMM 0x20000
2403 #define OEX_FPDBUG 0x40000
2404 #define OEX_PRECISEFP OEX_FPDBUG
2405 #define OEX_DISMISS 0x80000
2407 #define OEX_FPU_INVAL 0x10
2408 #define OEX_FPU_DIV0 0x08
2409 #define OEX_FPU_OFLO 0x04
2410 #define OEX_FPU_UFLO 0x02
2411 #define OEX_FPU_INEX 0x01
2415 #define OHW_R4KEOP 0x1
2416 #define OHW_R8KPFETCH 0x2
2417 #define OHW_R5KEOP 0x4
2418 #define OHW_R5KCVTL 0x8
2420 #define OPAD_PREFIX 0x1
2421 #define OPAD_POSTFIX 0x2
2422 #define OPAD_SYMBOL 0x4
2434 #define OHWA0_R4KEOP_CHECKED 0x00000001
2435 #define OHWA1_R4KEOP_CLEAN 0x00000002
2439 #define R_MIPS_NONE 0
2442 #define R_MIPS_REL32 3
2444 #define R_MIPS_HI16 5
2445 #define R_MIPS_LO16 6
2446 #define R_MIPS_GPREL16 7
2447 #define R_MIPS_LITERAL 8
2448 #define R_MIPS_GOT16 9
2449 #define R_MIPS_PC16 10
2450 #define R_MIPS_CALL16 11
2451 #define R_MIPS_GPREL32 12
2453 #define R_MIPS_SHIFT5 16
2454 #define R_MIPS_SHIFT6 17
2455 #define R_MIPS_64 18
2456 #define R_MIPS_GOT_DISP 19
2457 #define R_MIPS_GOT_PAGE 20
2458 #define R_MIPS_GOT_OFST 21
2459 #define R_MIPS_GOT_HI16 22
2460 #define R_MIPS_GOT_LO16 23
2461 #define R_MIPS_SUB 24
2462 #define R_MIPS_INSERT_A 25
2463 #define R_MIPS_INSERT_B 26
2464 #define R_MIPS_DELETE 27
2465 #define R_MIPS_HIGHER 28
2466 #define R_MIPS_HIGHEST 29
2467 #define R_MIPS_CALL_HI16 30
2468 #define R_MIPS_CALL_LO16 31
2469 #define R_MIPS_SCN_DISP 32
2470 #define R_MIPS_REL16 33
2471 #define R_MIPS_ADD_IMMEDIATE 34
2472 #define R_MIPS_PJUMP 35
2473 #define R_MIPS_RELGOT 36
2474 #define R_MIPS_JALR 37
2476 #define R_MIPS_NUM 38
2480 #define PT_MIPS_REGINFO 0x70000000
2481 #define PT_MIPS_RTPROC 0x70000001
2482 #define PT_MIPS_OPTIONS 0x70000002
2486 #define PF_MIPS_LOCAL 0x10000000
2490 #define DT_MIPS_RLD_VERSION 0x70000001
2491 #define DT_MIPS_TIME_STAMP 0x70000002
2492 #define DT_MIPS_ICHECKSUM 0x70000003
2493 #define DT_MIPS_IVERSION 0x70000004
2494 #define DT_MIPS_FLAGS 0x70000005
2495 #define DT_MIPS_BASE_ADDRESS 0x70000006
2496 #define DT_MIPS_MSYM 0x70000007
2497 #define DT_MIPS_CONFLICT 0x70000008
2498 #define DT_MIPS_LIBLIST 0x70000009
2499 #define DT_MIPS_LOCAL_GOTNO 0x7000000a
2500 #define DT_MIPS_CONFLICTNO 0x7000000b
2501 #define DT_MIPS_LIBLISTNO 0x70000010
2502 #define DT_MIPS_SYMTABNO 0x70000011
2503 #define DT_MIPS_UNREFEXTNO 0x70000012
2504 #define DT_MIPS_GOTSYM 0x70000013
2505 #define DT_MIPS_HIPAGENO 0x70000014
2506 #define DT_MIPS_RLD_MAP 0x70000016
2507 #define DT_MIPS_DELTA_CLASS 0x70000017
2508 #define DT_MIPS_DELTA_CLASS_NO 0x70000018
2510 #define DT_MIPS_DELTA_INSTANCE 0x70000019
2511 #define DT_MIPS_DELTA_INSTANCE_NO 0x7000001a
2513 #define DT_MIPS_DELTA_RELOC 0x7000001b
2514 #define DT_MIPS_DELTA_RELOC_NO 0x7000001c
2516 #define DT_MIPS_DELTA_SYM 0x7000001d
2518 #define DT_MIPS_DELTA_SYM_NO 0x7000001e
2520 #define DT_MIPS_DELTA_CLASSSYM 0x70000020
2522 #define DT_MIPS_DELTA_CLASSSYM_NO 0x70000021
2524 #define DT_MIPS_CXX_FLAGS 0x70000022
2525 #define DT_MIPS_PIXIE_INIT 0x70000023
2526 #define DT_MIPS_SYMBOL_LIB 0x70000024
2527 #define DT_MIPS_LOCALPAGE_GOTIDX 0x70000025
2528 #define DT_MIPS_LOCAL_GOTIDX 0x70000026
2529 #define DT_MIPS_HIDDEN_GOTIDX 0x70000027
2530 #define DT_MIPS_PROTECTED_GOTIDX 0x70000028
2531 #define DT_MIPS_OPTIONS 0x70000029
2532 #define DT_MIPS_INTERFACE 0x7000002a
2533 #define DT_MIPS_DYNSTR_ALIGN 0x7000002b
2534 #define DT_MIPS_INTERFACE_SIZE 0x7000002c
2535 #define DT_MIPS_RLD_TEXT_RESOLVE_ADDR 0x7000002d
2537 #define DT_MIPS_PERF_SUFFIX 0x7000002e
2539 #define DT_MIPS_COMPACT_SIZE 0x7000002f
2540 #define DT_MIPS_GP_VALUE 0x70000030
2541 #define DT_MIPS_AUX_DYNAMIC 0x70000031
2542 #define DT_MIPS_NUM 0x32
2547 #define RHF_QUICKSTART (1 << 0)
2548 #define RHF_NOTPOT (1 << 1)
2549 #define RHF_NO_LIBRARY_REPLACEMENT (1 << 2)
2550 #define RHF_NO_MOVE (1 << 3)
2551 #define RHF_SGI_ONLY (1 << 4)
2552 #define RHF_GUARANTEE_INIT (1 << 5)
2553 #define RHF_DELTA_C_PLUS_PLUS (1 << 6)
2554 #define RHF_GUARANTEE_START_INIT (1 << 7)
2555 #define RHF_PIXIE (1 << 8)
2556 #define RHF_DEFAULT_DELAY_LOAD (1 << 9)
2557 #define RHF_REQUICKSTART (1 << 10)
2558 #define RHF_REQUICKSTARTED (1 << 11)
2559 #define RHF_CORD (1 << 12)
2560 #define RHF_NO_UNRES_UNDEF (1 << 13)
2561 #define RHF_RLD_ORDER_SAFE (1 << 14)
2587 #define LL_EXACT_MATCH (1 << 0)
2588 #define LL_IGNORE_INT_VER (1 << 1)
2589 #define LL_REQUIRE_MINOR (1 << 2)
2590 #define LL_EXPORTS (1 << 3)
2591 #define LL_DELAY_LOAD (1 << 4)
2592 #define LL_DELTA (1 << 5)
2603 #define EF_PARISC_TRAPNIL 0x00010000
2604 #define EF_PARISC_EXT 0x00020000
2605 #define EF_PARISC_LSB 0x00040000
2606 #define EF_PARISC_WIDE 0x00080000
2607 #define EF_PARISC_NO_KABP 0x00100000
2609 #define EF_PARISC_LAZYSWAP 0x00400000
2610 #define EF_PARISC_ARCH 0x0000ffff
2614 #define EFA_PARISC_1_0 0x020b
2615 #define EFA_PARISC_1_1 0x0210
2616 #define EFA_PARISC_2_0 0x0214
2620 #define SHN_PARISC_ANSI_COMMON 0xff00
2622 #define SHN_PARISC_HUGE_COMMON 0xff01
2626 #define SHT_PARISC_EXT 0x70000000
2627 #define SHT_PARISC_UNWIND 0x70000001
2628 #define SHT_PARISC_DOC 0x70000002
2632 #define SHF_PARISC_SHORT 0x20000000
2633 #define SHF_PARISC_HUGE 0x40000000
2634 #define SHF_PARISC_SBP 0x80000000
2638 #define STT_PARISC_MILLICODE 13
2640 #define STT_HP_OPAQUE (STT_LOOS + 0x1)
2641 #define STT_HP_STUB (STT_LOOS + 0x2)
2645 #define R_PARISC_NONE 0
2646 #define R_PARISC_DIR32 1
2647 #define R_PARISC_DIR21L 2
2648 #define R_PARISC_DIR17R 3
2649 #define R_PARISC_DIR17F 4
2650 #define R_PARISC_DIR14R 6
2651 #define R_PARISC_PCREL32 9
2652 #define R_PARISC_PCREL21L 10
2653 #define R_PARISC_PCREL17R 11
2654 #define R_PARISC_PCREL17F 12
2655 #define R_PARISC_PCREL14R 14
2656 #define R_PARISC_DPREL21L 18
2657 #define R_PARISC_DPREL14R 22
2658 #define R_PARISC_GPREL21L 26
2659 #define R_PARISC_GPREL14R 30
2660 #define R_PARISC_LTOFF21L 34
2661 #define R_PARISC_LTOFF14R 38
2662 #define R_PARISC_SECREL32 41
2663 #define R_PARISC_SEGBASE 48
2664 #define R_PARISC_SEGREL32 49
2665 #define R_PARISC_PLTOFF21L 50
2666 #define R_PARISC_PLTOFF14R 54
2667 #define R_PARISC_LTOFF_FPTR32 57
2668 #define R_PARISC_LTOFF_FPTR21L 58
2669 #define R_PARISC_LTOFF_FPTR14R 62
2670 #define R_PARISC_FPTR64 64
2671 #define R_PARISC_PLABEL32 65
2672 #define R_PARISC_PCREL64 72
2673 #define R_PARISC_PCREL22F 74
2674 #define R_PARISC_PCREL14WR 75
2675 #define R_PARISC_PCREL14DR 76
2676 #define R_PARISC_PCREL16F 77
2677 #define R_PARISC_PCREL16WF 78
2678 #define R_PARISC_PCREL16DF 79
2679 #define R_PARISC_DIR64 80
2680 #define R_PARISC_DIR14WR 83
2681 #define R_PARISC_DIR14DR 84
2682 #define R_PARISC_DIR16F 85
2683 #define R_PARISC_DIR16WF 86
2684 #define R_PARISC_DIR16DF 87
2685 #define R_PARISC_GPREL64 88
2686 #define R_PARISC_GPREL14WR 91
2687 #define R_PARISC_GPREL14DR 92
2688 #define R_PARISC_GPREL16F 93
2689 #define R_PARISC_GPREL16WF 94
2690 #define R_PARISC_GPREL16DF 95
2691 #define R_PARISC_LTOFF64 96
2692 #define R_PARISC_LTOFF14WR 99
2693 #define R_PARISC_LTOFF14DR 100
2694 #define R_PARISC_LTOFF16F 101
2695 #define R_PARISC_LTOFF16WF 102
2696 #define R_PARISC_LTOFF16DF 103
2697 #define R_PARISC_SECREL64 104
2698 #define R_PARISC_SEGREL64 112
2699 #define R_PARISC_PLTOFF14WR 115
2700 #define R_PARISC_PLTOFF14DR 116
2701 #define R_PARISC_PLTOFF16F 117
2702 #define R_PARISC_PLTOFF16WF 118
2703 #define R_PARISC_PLTOFF16DF 119
2704 #define R_PARISC_LTOFF_FPTR64 120
2705 #define R_PARISC_LTOFF_FPTR14WR 123
2706 #define R_PARISC_LTOFF_FPTR14DR 124
2707 #define R_PARISC_LTOFF_FPTR16F 125
2708 #define R_PARISC_LTOFF_FPTR16WF 126
2709 #define R_PARISC_LTOFF_FPTR16DF 127
2710 #define R_PARISC_LORESERVE 128
2711 #define R_PARISC_COPY 128
2712 #define R_PARISC_IPLT 129
2713 #define R_PARISC_EPLT 130
2714 #define R_PARISC_TPREL32 153
2715 #define R_PARISC_TPREL21L 154
2716 #define R_PARISC_TPREL14R 158
2717 #define R_PARISC_LTOFF_TP21L 162
2718 #define R_PARISC_LTOFF_TP14R 166
2719 #define R_PARISC_LTOFF_TP14F 167
2720 #define R_PARISC_TPREL64 216
2721 #define R_PARISC_TPREL14WR 219
2722 #define R_PARISC_TPREL14DR 220
2723 #define R_PARISC_TPREL16F 221
2724 #define R_PARISC_TPREL16WF 222
2725 #define R_PARISC_TPREL16DF 223
2726 #define R_PARISC_LTOFF_TP64 224
2727 #define R_PARISC_LTOFF_TP14WR 227
2728 #define R_PARISC_LTOFF_TP14DR 228
2729 #define R_PARISC_LTOFF_TP16F 229
2730 #define R_PARISC_LTOFF_TP16WF 230
2731 #define R_PARISC_LTOFF_TP16DF 231
2732 #define R_PARISC_HIRESERVE 255
2736 #define PT_HP_TLS (PT_LOOS + 0x0)
2737 #define PT_HP_CORE_NONE (PT_LOOS + 0x1)
2738 #define PT_HP_CORE_VERSION (PT_LOOS + 0x2)
2739 #define PT_HP_CORE_KERNEL (PT_LOOS + 0x3)
2740 #define PT_HP_CORE_COMM (PT_LOOS + 0x4)
2741 #define PT_HP_CORE_PROC (PT_LOOS + 0x5)
2742 #define PT_HP_CORE_LOADABLE (PT_LOOS + 0x6)
2743 #define PT_HP_CORE_STACK (PT_LOOS + 0x7)
2744 #define PT_HP_CORE_SHM (PT_LOOS + 0x8)
2745 #define PT_HP_CORE_MMF (PT_LOOS + 0x9)
2746 #define PT_HP_PARALLEL (PT_LOOS + 0x10)
2747 #define PT_HP_FASTBIND (PT_LOOS + 0x11)
2748 #define PT_HP_OPT_ANNOT (PT_LOOS + 0x12)
2749 #define PT_HP_HSL_ANNOT (PT_LOOS + 0x13)
2750 #define PT_HP_STACK (PT_LOOS + 0x14)
2752 #define PT_PARISC_ARCHEXT 0x70000000
2753 #define PT_PARISC_UNWIND 0x70000001
2757 #define PF_PARISC_SBP 0x08000000
2759 #define PF_HP_PAGE_SIZE 0x00100000
2760 #define PF_HP_FAR_SHARED 0x00200000
2761 #define PF_HP_NEAR_SHARED 0x00400000
2762 #define PF_HP_CODE 0x01000000
2763 #define PF_HP_MODIFY 0x02000000
2764 #define PF_HP_LAZYSWAP 0x04000000
2765 #define PF_HP_SBP 0x08000000
2772 #define EF_ALPHA_32BIT 1
2773 #define EF_ALPHA_CANRELAX 2
2778 #define SHT_ALPHA_DEBUG 0x70000001
2779 #define SHT_ALPHA_REGINFO 0x70000002
2783 #define SHF_ALPHA_GPREL 0x10000000
2786 #define STO_ALPHA_NOPV 0x80
2787 #define STO_ALPHA_STD_GPLOAD 0x88
2791 #define R_ALPHA_NONE 0
2792 #define R_ALPHA_REFLONG 1
2793 #define R_ALPHA_REFQUAD 2
2794 #define R_ALPHA_GPREL32 3
2795 #define R_ALPHA_LITERAL 4
2796 #define R_ALPHA_LITUSE 5
2797 #define R_ALPHA_GPDISP 6
2798 #define R_ALPHA_BRADDR 7
2799 #define R_ALPHA_HINT 8
2800 #define R_ALPHA_SREL16 9
2801 #define R_ALPHA_SREL32 10
2802 #define R_ALPHA_SREL64 11
2803 #define R_ALPHA_GPRELHIGH 17
2804 #define R_ALPHA_GPRELLOW 18
2805 #define R_ALPHA_GPREL16 19
2806 #define R_ALPHA_COPY 24
2807 #define R_ALPHA_GLOB_DAT 25
2808 #define R_ALPHA_JMP_SLOT 26
2809 #define R_ALPHA_RELATIVE 27
2810 #define R_ALPHA_TLS_GD_HI 28
2811 #define R_ALPHA_TLSGD 29
2812 #define R_ALPHA_TLS_LDM 30
2813 #define R_ALPHA_DTPMOD64 31
2814 #define R_ALPHA_GOTDTPREL 32
2815 #define R_ALPHA_DTPREL64 33
2816 #define R_ALPHA_DTPRELHI 34
2817 #define R_ALPHA_DTPRELLO 35
2818 #define R_ALPHA_DTPREL16 36
2819 #define R_ALPHA_GOTTPREL 37
2820 #define R_ALPHA_TPREL64 38
2821 #define R_ALPHA_TPRELHI 39
2822 #define R_ALPHA_TPRELLO 40
2823 #define R_ALPHA_TPREL16 41
2825 #define R_ALPHA_NUM 46
2828 #define LITUSE_ALPHA_ADDR 0
2829 #define LITUSE_ALPHA_BASE 1
2830 #define LITUSE_ALPHA_BYTOFF 2
2831 #define LITUSE_ALPHA_JSR 3
2832 #define LITUSE_ALPHA_TLS_GD 4
2833 #define LITUSE_ALPHA_TLS_LDM 5
2839 #define EF_PPC_EMB 0x80000000
2842 #define EF_PPC_RELOCATABLE 0x00010000
2843 #define EF_PPC_RELOCATABLE_LIB 0x00008000
2847 #define R_PPC_NONE 0
2848 #define R_PPC_ADDR32 1
2849 #define R_PPC_ADDR24 2
2850 #define R_PPC_ADDR16 3
2851 #define R_PPC_ADDR16_LO 4
2852 #define R_PPC_ADDR16_HI 5
2853 #define R_PPC_ADDR16_HA 6
2854 #define R_PPC_ADDR14 7
2855 #define R_PPC_ADDR14_BRTAKEN 8
2856 #define R_PPC_ADDR14_BRNTAKEN 9
2857 #define R_PPC_REL24 10
2858 #define R_PPC_REL14 11
2859 #define R_PPC_REL14_BRTAKEN 12
2860 #define R_PPC_REL14_BRNTAKEN 13
2861 #define R_PPC_GOT16 14
2862 #define R_PPC_GOT16_LO 15
2863 #define R_PPC_GOT16_HI 16
2864 #define R_PPC_GOT16_HA 17
2865 #define R_PPC_PLTREL24 18
2866 #define R_PPC_COPY 19
2867 #define R_PPC_GLOB_DAT 20
2868 #define R_PPC_JMP_SLOT 21
2869 #define R_PPC_RELATIVE 22
2870 #define R_PPC_LOCAL24PC 23
2871 #define R_PPC_UADDR32 24
2872 #define R_PPC_UADDR16 25
2873 #define R_PPC_REL32 26
2874 #define R_PPC_PLT32 27
2875 #define R_PPC_PLTREL32 28
2876 #define R_PPC_PLT16_LO 29
2877 #define R_PPC_PLT16_HI 30
2878 #define R_PPC_PLT16_HA 31
2879 #define R_PPC_SDAREL16 32
2880 #define R_PPC_SECTOFF 33
2881 #define R_PPC_SECTOFF_LO 34
2882 #define R_PPC_SECTOFF_HI 35
2883 #define R_PPC_SECTOFF_HA 36
2886 #define R_PPC_TLS 67
2887 #define R_PPC_DTPMOD32 68
2888 #define R_PPC_TPREL16 69
2889 #define R_PPC_TPREL16_LO 70
2890 #define R_PPC_TPREL16_HI 71
2891 #define R_PPC_TPREL16_HA 72
2892 #define R_PPC_TPREL32 73
2893 #define R_PPC_DTPREL16 74
2894 #define R_PPC_DTPREL16_LO 75
2895 #define R_PPC_DTPREL16_HI 76
2896 #define R_PPC_DTPREL16_HA 77
2897 #define R_PPC_DTPREL32 78
2898 #define R_PPC_GOT_TLSGD16 79
2899 #define R_PPC_GOT_TLSGD16_LO 80
2900 #define R_PPC_GOT_TLSGD16_HI 81
2901 #define R_PPC_GOT_TLSGD16_HA 82
2902 #define R_PPC_GOT_TLSLD16 83
2903 #define R_PPC_GOT_TLSLD16_LO 84
2904 #define R_PPC_GOT_TLSLD16_HI 85
2905 #define R_PPC_GOT_TLSLD16_HA 86
2906 #define R_PPC_GOT_TPREL16 87
2907 #define R_PPC_GOT_TPREL16_LO 88
2908 #define R_PPC_GOT_TPREL16_HI 89
2909 #define R_PPC_GOT_TPREL16_HA 90
2910 #define R_PPC_GOT_DTPREL16 91
2911 #define R_PPC_GOT_DTPREL16_LO 92
2912 #define R_PPC_GOT_DTPREL16_HI 93
2913 #define R_PPC_GOT_DTPREL16_HA 94
2916 #define R_PPC_NUM 95
2920 #define R_PPC_EMB_NADDR32 101
2921 #define R_PPC_EMB_NADDR16 102
2922 #define R_PPC_EMB_NADDR16_LO 103
2923 #define R_PPC_EMB_NADDR16_HI 104
2924 #define R_PPC_EMB_NADDR16_HA 105
2925 #define R_PPC_EMB_SDAI16 106
2926 #define R_PPC_EMB_SDA2I16 107
2927 #define R_PPC_EMB_SDA2REL 108
2928 #define R_PPC_EMB_SDA21 109
2929 #define R_PPC_EMB_MRKREF 110
2930 #define R_PPC_EMB_RELSEC16 111
2931 #define R_PPC_EMB_RELST_LO 112
2932 #define R_PPC_EMB_RELST_HI 113
2933 #define R_PPC_EMB_RELST_HA 114
2934 #define R_PPC_EMB_BIT_FLD 115
2935 #define R_PPC_EMB_RELSDA 116
2938 #define R_PPC_DIAB_SDA21_LO 180
2939 #define R_PPC_DIAB_SDA21_HI 181
2940 #define R_PPC_DIAB_SDA21_HA 182
2941 #define R_PPC_DIAB_RELSDA_LO 183
2942 #define R_PPC_DIAB_RELSDA_HI 184
2943 #define R_PPC_DIAB_RELSDA_HA 185
2947 #define R_PPC_TOC16 255
2951 #define R_PPC64_NONE R_PPC_NONE
2952 #define R_PPC64_ADDR32 R_PPC_ADDR32
2953 #define R_PPC64_ADDR24 R_PPC_ADDR24
2954 #define R_PPC64_ADDR16 R_PPC_ADDR16
2955 #define R_PPC64_ADDR16_LO R_PPC_ADDR16_LO
2956 #define R_PPC64_ADDR16_HI R_PPC_ADDR16_HI
2957 #define R_PPC64_ADDR16_HA R_PPC_ADDR16_HA
2958 #define R_PPC64_ADDR14 R_PPC_ADDR14
2959 #define R_PPC64_ADDR14_BRTAKEN R_PPC_ADDR14_BRTAKEN
2960 #define R_PPC64_ADDR14_BRNTAKEN R_PPC_ADDR14_BRNTAKEN
2961 #define R_PPC64_REL24 R_PPC_REL24
2962 #define R_PPC64_REL14 R_PPC_REL14
2963 #define R_PPC64_REL14_BRTAKEN R_PPC_REL14_BRTAKEN
2964 #define R_PPC64_REL14_BRNTAKEN R_PPC_REL14_BRNTAKEN
2965 #define R_PPC64_GOT16 R_PPC_GOT16
2966 #define R_PPC64_GOT16_LO R_PPC_GOT16_LO
2967 #define R_PPC64_GOT16_HI R_PPC_GOT16_HI
2968 #define R_PPC64_GOT16_HA R_PPC_GOT16_HA
2970 #define R_PPC64_COPY R_PPC_COPY
2971 #define R_PPC64_GLOB_DAT R_PPC_GLOB_DAT
2972 #define R_PPC64_JMP_SLOT R_PPC_JMP_SLOT
2973 #define R_PPC64_RELATIVE R_PPC_RELATIVE
2975 #define R_PPC64_UADDR32 R_PPC_UADDR32
2976 #define R_PPC64_UADDR16 R_PPC_UADDR16
2977 #define R_PPC64_REL32 R_PPC_REL32
2978 #define R_PPC64_PLT32 R_PPC_PLT32
2979 #define R_PPC64_PLTREL32 R_PPC_PLTREL32
2980 #define R_PPC64_PLT16_LO R_PPC_PLT16_LO
2981 #define R_PPC64_PLT16_HI R_PPC_PLT16_HI
2982 #define R_PPC64_PLT16_HA R_PPC_PLT16_HA
2984 #define R_PPC64_SECTOFF R_PPC_SECTOFF
2985 #define R_PPC64_SECTOFF_LO R_PPC_SECTOFF_LO
2986 #define R_PPC64_SECTOFF_HI R_PPC_SECTOFF_HI
2987 #define R_PPC64_SECTOFF_HA R_PPC_SECTOFF_HA
2988 #define R_PPC64_ADDR30 37
2989 #define R_PPC64_ADDR64 38
2990 #define R_PPC64_ADDR16_HIGHER 39
2991 #define R_PPC64_ADDR16_HIGHERA 40
2992 #define R_PPC64_ADDR16_HIGHEST 41
2993 #define R_PPC64_ADDR16_HIGHESTA 42
2994 #define R_PPC64_UADDR64 43
2995 #define R_PPC64_REL64 44
2996 #define R_PPC64_PLT64 45
2997 #define R_PPC64_PLTREL64 46
2998 #define R_PPC64_TOC16 47
2999 #define R_PPC64_TOC16_LO 48
3000 #define R_PPC64_TOC16_HI 49
3001 #define R_PPC64_TOC16_HA 50
3002 #define R_PPC64_TOC 51
3003 #define R_PPC64_PLTGOT16 52
3004 #define R_PPC64_PLTGOT16_LO 53
3005 #define R_PPC64_PLTGOT16_HI 54
3006 #define R_PPC64_PLTGOT16_HA 55
3008 #define R_PPC64_ADDR16_DS 56
3009 #define R_PPC64_ADDR16_LO_DS 57
3010 #define R_PPC64_GOT16_DS 58
3011 #define R_PPC64_GOT16_LO_DS 59
3012 #define R_PPC64_PLT16_LO_DS 60
3013 #define R_PPC64_SECTOFF_DS 61
3014 #define R_PPC64_SECTOFF_LO_DS 62
3015 #define R_PPC64_TOC16_DS 63
3016 #define R_PPC64_TOC16_LO_DS 64
3017 #define R_PPC64_PLTGOT16_DS 65
3018 #define R_PPC64_PLTGOT16_LO_DS 66
3021 #define R_PPC64_TLS 67
3022 #define R_PPC64_DTPMOD64 68
3023 #define R_PPC64_TPREL16 69
3024 #define R_PPC64_TPREL16_LO 70
3025 #define R_PPC64_TPREL16_HI 71
3026 #define R_PPC64_TPREL16_HA 72
3027 #define R_PPC64_TPREL64 73
3028 #define R_PPC64_DTPREL16 74
3029 #define R_PPC64_DTPREL16_LO 75
3030 #define R_PPC64_DTPREL16_HI 76
3031 #define R_PPC64_DTPREL16_HA 77
3032 #define R_PPC64_DTPREL64 78
3033 #define R_PPC64_GOT_TLSGD16 79
3034 #define R_PPC64_GOT_TLSGD16_LO 80
3035 #define R_PPC64_GOT_TLSGD16_HI 81
3036 #define R_PPC64_GOT_TLSGD16_HA 82
3037 #define R_PPC64_GOT_TLSLD16 83
3038 #define R_PPC64_GOT_TLSLD16_LO 84
3039 #define R_PPC64_GOT_TLSLD16_HI 85
3040 #define R_PPC64_GOT_TLSLD16_HA 86
3041 #define R_PPC64_GOT_TPREL16_DS 87
3042 #define R_PPC64_GOT_TPREL16_LO_DS 88
3043 #define R_PPC64_GOT_TPREL16_HI 89
3044 #define R_PPC64_GOT_TPREL16_HA 90
3045 #define R_PPC64_GOT_DTPREL16_DS 91
3046 #define R_PPC64_GOT_DTPREL16_LO_DS 92
3047 #define R_PPC64_GOT_DTPREL16_HI 93
3048 #define R_PPC64_GOT_DTPREL16_HA 94
3049 #define R_PPC64_TPREL16_DS 95
3050 #define R_PPC64_TPREL16_LO_DS 96
3051 #define R_PPC64_TPREL16_HIGHER 97
3052 #define R_PPC64_TPREL16_HIGHERA 98
3053 #define R_PPC64_TPREL16_HIGHEST 99
3054 #define R_PPC64_TPREL16_HIGHESTA 100
3055 #define R_PPC64_DTPREL16_DS 101
3056 #define R_PPC64_DTPREL16_LO_DS 102
3057 #define R_PPC64_DTPREL16_HIGHER 103
3058 #define R_PPC64_DTPREL16_HIGHERA 104
3059 #define R_PPC64_DTPREL16_HIGHEST 105
3060 #define R_PPC64_DTPREL16_HIGHESTA 106
3063 #define R_PPC64_NUM 107
3066 #define DT_PPC64_GLINK (DT_LOPROC + 0)
3067 #define DT_PPC64_OPD (DT_LOPROC + 1)
3068 #define DT_PPC64_OPDSZ (DT_LOPROC + 2)
3069 #define DT_PPC64_NUM 3
3075 #define EF_ARM_RELEXEC 0x01
3076 #define EF_ARM_HASENTRY 0x02
3077 #define EF_ARM_INTERWORK 0x04
3078 #define EF_ARM_APCS_26 0x08
3079 #define EF_ARM_APCS_FLOAT 0x10
3080 #define EF_ARM_PIC 0x20
3081 #define EF_ARM_ALIGN8 0x40
3082 #define EF_ARM_NEW_ABI 0x80
3083 #define EF_ARM_OLD_ABI 0x100
3087 #define EF_ARM_SYMSARESORTED 0x04
3088 #define EF_ARM_DYNSYMSUSESEGIDX 0x08
3089 #define EF_ARM_MAPSYMSFIRST 0x10
3090 #define EF_ARM_EABIMASK 0XFF000000
3092 #define EF_ARM_EABI_VERSION(flags) ((flags) & EF_ARM_EABIMASK)
3093 #define EF_ARM_EABI_UNKNOWN 0x00000000
3094 #define EF_ARM_EABI_VER1 0x01000000
3095 #define EF_ARM_EABI_VER2 0x02000000
3098 #define STT_ARM_TFUNC 0xd
3101 #define SHF_ARM_ENTRYSECT 0x10000000
3102 #define SHF_ARM_COMDEF 0x80000000
3106 #define PF_ARM_SB 0x10000000
3110 #define R_ARM_NONE 0
3111 #define R_ARM_PC24 1
3112 #define R_ARM_ABS32 2
3113 #define R_ARM_REL32 3
3114 #define R_ARM_PC13 4
3115 #define R_ARM_ABS16 5
3116 #define R_ARM_ABS12 6
3117 #define R_ARM_THM_ABS5 7
3118 #define R_ARM_ABS8 8
3119 #define R_ARM_SBREL32 9
3120 #define R_ARM_THM_PC22 10
3121 #define R_ARM_THM_PC8 11
3122 #define R_ARM_AMP_VCALL9 12
3123 #define R_ARM_SWI24 13
3124 #define R_ARM_THM_SWI8 14
3125 #define R_ARM_XPC25 15
3126 #define R_ARM_THM_XPC22 16
3127 #define R_ARM_COPY 20
3128 #define R_ARM_GLOB_DAT 21
3129 #define R_ARM_JUMP_SLOT 22
3130 #define R_ARM_RELATIVE 23
3131 #define R_ARM_GOTOFF 24
3132 #define R_ARM_GOTPC 25
3133 #define R_ARM_GOT32 26
3134 #define R_ARM_PLT32 27
3135 #define R_ARM_ALU_PCREL_7_0 32
3136 #define R_ARM_ALU_PCREL_15_8 33
3137 #define R_ARM_ALU_PCREL_23_15 34
3138 #define R_ARM_LDR_SBREL_11_0 35
3139 #define R_ARM_ALU_SBREL_19_12 36
3140 #define R_ARM_ALU_SBREL_27_20 37
3141 #define R_ARM_GNU_VTENTRY 100
3142 #define R_ARM_GNU_VTINHERIT 101
3143 #define R_ARM_THM_PC11 102
3144 #define R_ARM_THM_PC9 103
3145 #define R_ARM_RXPC25 249
3146 #define R_ARM_RSBREL32 250
3147 #define R_ARM_THM_RPC22 251
3148 #define R_ARM_RREL32 252
3149 #define R_ARM_RABS22 253
3150 #define R_ARM_RPC24 254
3151 #define R_ARM_RBASE 255
3153 #define R_ARM_NUM 256
3158 #define EF_IA_64_MASKOS 0x0000000f
3159 #define EF_IA_64_ABI64 0x00000010
3160 #define EF_IA_64_ARCH 0xff000000
3163 #define PT_IA_64_ARCHEXT (PT_LOPROC + 0)
3164 #define PT_IA_64_UNWIND (PT_LOPROC + 1)
3165 #define PT_IA_64_HP_OPT_ANOT (PT_LOOS + 0x12)
3166 #define PT_IA_64_HP_HSL_ANOT (PT_LOOS + 0x13)
3167 #define PT_IA_64_HP_STACK (PT_LOOS + 0x14)
3170 #define PF_IA_64_NORECOV 0x80000000
3173 #define SHT_IA_64_EXT (SHT_LOPROC + 0)
3174 #define SHT_IA_64_UNWIND (SHT_LOPROC + 1)
3177 #define SHF_IA_64_SHORT 0x10000000
3178 #define SHF_IA_64_NORECOV 0x20000000
3181 #define DT_IA_64_PLT_RESERVE (DT_LOPROC + 0)
3182 #define DT_IA_64_NUM 1
3185 #define R_IA64_NONE 0x00
3186 #define R_IA64_IMM14 0x21
3187 #define R_IA64_IMM22 0x22
3188 #define R_IA64_IMM64 0x23
3189 #define R_IA64_DIR32MSB 0x24
3190 #define R_IA64_DIR32LSB 0x25
3191 #define R_IA64_DIR64MSB 0x26
3192 #define R_IA64_DIR64LSB 0x27
3193 #define R_IA64_GPREL22 0x2a
3194 #define R_IA64_GPREL64I 0x2b
3195 #define R_IA64_GPREL32MSB 0x2c
3196 #define R_IA64_GPREL32LSB 0x2d
3197 #define R_IA64_GPREL64MSB 0x2e
3198 #define R_IA64_GPREL64LSB 0x2f
3199 #define R_IA64_LTOFF22 0x32
3200 #define R_IA64_LTOFF64I 0x33
3201 #define R_IA64_PLTOFF22 0x3a
3202 #define R_IA64_PLTOFF64I 0x3b
3203 #define R_IA64_PLTOFF64MSB 0x3e
3204 #define R_IA64_PLTOFF64LSB 0x3f
3205 #define R_IA64_FPTR64I 0x43
3206 #define R_IA64_FPTR32MSB 0x44
3207 #define R_IA64_FPTR32LSB 0x45
3208 #define R_IA64_FPTR64MSB 0x46
3209 #define R_IA64_FPTR64LSB 0x47
3210 #define R_IA64_PCREL60B 0x48
3211 #define R_IA64_PCREL21B 0x49
3212 #define R_IA64_PCREL21M 0x4a
3213 #define R_IA64_PCREL21F 0x4b
3214 #define R_IA64_PCREL32MSB 0x4c
3215 #define R_IA64_PCREL32LSB 0x4d
3216 #define R_IA64_PCREL64MSB 0x4e
3217 #define R_IA64_PCREL64LSB 0x4f
3218 #define R_IA64_LTOFF_FPTR22 0x52
3219 #define R_IA64_LTOFF_FPTR64I 0x53
3220 #define R_IA64_LTOFF_FPTR32MSB 0x54
3221 #define R_IA64_LTOFF_FPTR32LSB 0x55
3222 #define R_IA64_LTOFF_FPTR64MSB 0x56
3223 #define R_IA64_LTOFF_FPTR64LSB 0x57
3224 #define R_IA64_SEGREL32MSB 0x5c
3225 #define R_IA64_SEGREL32LSB 0x5d
3226 #define R_IA64_SEGREL64MSB 0x5e
3227 #define R_IA64_SEGREL64LSB 0x5f
3228 #define R_IA64_SECREL32MSB 0x64
3229 #define R_IA64_SECREL32LSB 0x65
3230 #define R_IA64_SECREL64MSB 0x66
3231 #define R_IA64_SECREL64LSB 0x67
3232 #define R_IA64_REL32MSB 0x6c
3233 #define R_IA64_REL32LSB 0x6d
3234 #define R_IA64_REL64MSB 0x6e
3235 #define R_IA64_REL64LSB 0x6f
3236 #define R_IA64_LTV32MSB 0x74
3237 #define R_IA64_LTV32LSB 0x75
3238 #define R_IA64_LTV64MSB 0x76
3239 #define R_IA64_LTV64LSB 0x77
3240 #define R_IA64_PCREL21BI 0x79
3241 #define R_IA64_PCREL22 0x7a
3242 #define R_IA64_PCREL64I 0x7b
3243 #define R_IA64_IPLTMSB 0x80
3244 #define R_IA64_IPLTLSB 0x81
3245 #define R_IA64_COPY 0x84
3246 #define R_IA64_SUB 0x85
3247 #define R_IA64_LTOFF22X 0x86
3248 #define R_IA64_LDXMOV 0x87
3249 #define R_IA64_TPREL14 0x91
3250 #define R_IA64_TPREL22 0x92
3251 #define R_IA64_TPREL64I 0x93
3252 #define R_IA64_TPREL64MSB 0x96
3253 #define R_IA64_TPREL64LSB 0x97
3254 #define R_IA64_LTOFF_TPREL22 0x9a
3255 #define R_IA64_DTPMOD64MSB 0xa6
3256 #define R_IA64_DTPMOD64LSB 0xa7
3257 #define R_IA64_LTOFF_DTPMOD22 0xaa
3258 #define R_IA64_DTPREL14 0xb1
3259 #define R_IA64_DTPREL22 0xb2
3260 #define R_IA64_DTPREL64I 0xb3
3261 #define R_IA64_DTPREL32MSB 0xb4
3262 #define R_IA64_DTPREL32LSB 0xb5
3263 #define R_IA64_DTPREL64MSB 0xb6
3264 #define R_IA64_DTPREL64LSB 0xb7
3265 #define R_IA64_LTOFF_DTPREL22 0xba
3271 #define R_SH_DIR32 1
3272 #define R_SH_REL32 2
3273 #define R_SH_DIR8WPN 3
3274 #define R_SH_IND12W 4
3275 #define R_SH_DIR8WPL 5
3276 #define R_SH_DIR8WPZ 6
3277 #define R_SH_DIR8BP 7
3278 #define R_SH_DIR8W 8
3279 #define R_SH_DIR8L 9
3280 #define R_SH_SWITCH16 25
3281 #define R_SH_SWITCH32 26
3282 #define R_SH_USES 27
3283 #define R_SH_COUNT 28
3284 #define R_SH_ALIGN 29
3285 #define R_SH_CODE 30
3286 #define R_SH_DATA 31
3287 #define R_SH_LABEL 32
3288 #define R_SH_SWITCH8 33
3289 #define R_SH_GNU_VTINHERIT 34
3290 #define R_SH_GNU_VTENTRY 35
3291 #define R_SH_TLS_GD_32 144
3292 #define R_SH_TLS_LD_32 145
3293 #define R_SH_TLS_LDO_32 146
3294 #define R_SH_TLS_IE_32 147
3295 #define R_SH_TLS_LE_32 148
3296 #define R_SH_TLS_DTPMOD32 149
3297 #define R_SH_TLS_DTPOFF32 150
3298 #define R_SH_TLS_TPOFF32 151
3299 #define R_SH_GOT32 160
3300 #define R_SH_PLT32 161
3301 #define R_SH_COPY 162
3302 #define R_SH_GLOB_DAT 163
3303 #define R_SH_JMP_SLOT 164
3304 #define R_SH_RELATIVE 165
3305 #define R_SH_GOTOFF 166
3306 #define R_SH_GOTPC 167
3308 #define R_SH_NUM 256
3312 #define R_390_NONE 0
3317 #define R_390_PC32 5
3318 #define R_390_GOT12 6
3319 #define R_390_GOT32 7
3320 #define R_390_PLT32 8
3321 #define R_390_COPY 9
3322 #define R_390_GLOB_DAT 10
3323 #define R_390_JMP_SLOT 11
3324 #define R_390_RELATIVE 12
3325 #define R_390_GOTOFF32 13
3326 #define R_390_GOTPC 14
3327 #define R_390_GOT16 15
3328 #define R_390_PC16 16
3329 #define R_390_PC16DBL 17
3330 #define R_390_PLT16DBL 18
3331 #define R_390_PC32DBL 19
3332 #define R_390_PLT32DBL 20
3333 #define R_390_GOTPCDBL 21
3335 #define R_390_PC64 23
3336 #define R_390_GOT64 24
3337 #define R_390_PLT64 25
3338 #define R_390_GOTENT 26
3339 #define R_390_GOTOFF16 27
3340 #define R_390_GOTOFF64 28
3341 #define R_390_GOTPLT12 29
3342 #define R_390_GOTPLT16 30
3343 #define R_390_GOTPLT32 31
3344 #define R_390_GOTPLT64 32
3345 #define R_390_GOTPLTENT 33
3346 #define R_390_PLTOFF16 34
3347 #define R_390_PLTOFF32 35
3348 #define R_390_PLTOFF64 36
3349 #define R_390_TLS_LOAD 37
3350 #define R_390_TLS_GDCALL 38
3352 #define R_390_TLS_LDCALL 39
3354 #define R_390_TLS_GD32 40
3356 #define R_390_TLS_GD64 41
3358 #define R_390_TLS_GOTIE12 42
3360 #define R_390_TLS_GOTIE32 43
3362 #define R_390_TLS_GOTIE64 44
3364 #define R_390_TLS_LDM32 45
3366 #define R_390_TLS_LDM64 46
3368 #define R_390_TLS_IE32 47
3370 #define R_390_TLS_IE64 48
3372 #define R_390_TLS_IEENT 49
3374 #define R_390_TLS_LE32 50
3376 #define R_390_TLS_LE64 51
3378 #define R_390_TLS_LDO32 52
3380 #define R_390_TLS_LDO64 53
3382 #define R_390_TLS_DTPMOD 54
3383 #define R_390_TLS_DTPOFF 55
3384 #define R_390_TLS_TPOFF 56
3387 #define R_390_GOT20 58
3388 #define R_390_GOTPLT20 59
3389 #define R_390_TLS_GOTIE20 60
3392 #define R_390_NUM 61
3396 #define R_CRIS_NONE 0
3400 #define R_CRIS_8_PCREL 4
3401 #define R_CRIS_16_PCREL 5
3402 #define R_CRIS_32_PCREL 6
3403 #define R_CRIS_GNU_VTINHERIT 7
3404 #define R_CRIS_GNU_VTENTRY 8
3405 #define R_CRIS_COPY 9
3406 #define R_CRIS_GLOB_DAT 10
3407 #define R_CRIS_JUMP_SLOT 11
3408 #define R_CRIS_RELATIVE 12
3409 #define R_CRIS_16_GOT 13
3410 #define R_CRIS_32_GOT 14
3411 #define R_CRIS_16_GOTPLT 15
3412 #define R_CRIS_32_GOTPLT 16
3413 #define R_CRIS_32_GOTREL 17
3414 #define R_CRIS_32_PLT_GOTREL 18
3415 #define R_CRIS_32_PLT_PCREL 19
3417 #define R_CRIS_NUM 20
3421 #define R_X86_64_NONE 0
3422 #define R_X86_64_64 1
3423 #define R_X86_64_PC32 2
3424 #define R_X86_64_GOT32 3
3425 #define R_X86_64_PLT32 4
3426 #define R_X86_64_COPY 5
3427 #define R_X86_64_GLOB_DAT 6
3428 #define R_X86_64_JUMP_SLOT 7
3429 #define R_X86_64_RELATIVE 8
3430 #define R_X86_64_GOTPCREL 9
3432 #define R_X86_64_32 10
3433 #define R_X86_64_32S 11
3434 #define R_X86_64_16 12
3435 #define R_X86_64_PC16 13
3436 #define R_X86_64_8 14
3437 #define R_X86_64_PC8 15
3438 #define R_X86_64_DTPMOD64 16
3439 #define R_X86_64_DTPOFF64 17
3440 #define R_X86_64_TPOFF64 18
3441 #define R_X86_64_TLSGD 19
3443 #define R_X86_64_TLSLD 20
3445 #define R_X86_64_DTPOFF32 21
3446 #define R_X86_64_GOTTPOFF 22
3448 #define R_X86_64_TPOFF32 23
3450 #define R_X86_64_NUM 24
3454 #define R_MN10300_NONE 0
3455 #define R_MN10300_32 1
3456 #define R_MN10300_16 2
3457 #define R_MN10300_8 3
3458 #define R_MN10300_PCREL32 4
3459 #define R_MN10300_PCREL16 5
3460 #define R_MN10300_PCREL8 6
3461 #define R_MN10300_GNU_VTINHERIT 7
3462 #define R_MN10300_GNU_VTENTRY 8
3463 #define R_MN10300_24 9
3464 #define R_MN10300_GOTPC32 10
3465 #define R_MN10300_GOTPC16 11
3466 #define R_MN10300_GOTOFF32 12
3467 #define R_MN10300_GOTOFF24 13
3468 #define R_MN10300_GOTOFF16 14
3469 #define R_MN10300_PLT32 15
3470 #define R_MN10300_PLT16 16
3471 #define R_MN10300_GOT32 17
3472 #define R_MN10300_GOT24 18
3473 #define R_MN10300_GOT16 19
3474 #define R_MN10300_COPY 20
3475 #define R_MN10300_GLOB_DAT 21
3476 #define R_MN10300_JMP_SLOT 22
3477 #define R_MN10300_RELATIVE 23
3479 #define R_MN10300_NUM 24
3483 #define R_M32R_NONE 0
3487 #define R_M32R_10_PCREL 4
3488 #define R_M32R_18_PCREL 5
3489 #define R_M32R_26_PCREL 6
3490 #define R_M32R_HI16_ULO 7
3491 #define R_M32R_HI16_SLO 8
3492 #define R_M32R_LO16 9
3493 #define R_M32R_SDA16 10
3494 #define R_M32R_GNU_VTINHERIT 11
3495 #define R_M32R_GNU_VTENTRY 12
3497 #define R_M32R_16_RELA 33
3498 #define R_M32R_32_RELA 34
3499 #define R_M32R_24_RELA 35
3500 #define R_M32R_10_PCREL_RELA 36
3501 #define R_M32R_18_PCREL_RELA 37
3502 #define R_M32R_26_PCREL_RELA 38
3503 #define R_M32R_HI16_ULO_RELA 39
3504 #define R_M32R_HI16_SLO_RELA 40
3505 #define R_M32R_LO16_RELA 41
3506 #define R_M32R_SDA16_RELA 42
3507 #define R_M32R_RELA_GNU_VTINHERIT 43
3508 #define R_M32R_RELA_GNU_VTENTRY 44
3510 #define R_M32R_GOT24 48
3511 #define R_M32R_26_PLTREL 49
3512 #define R_M32R_COPY 50
3513 #define R_M32R_GLOB_DAT 51
3514 #define R_M32R_JMP_SLOT 52
3515 #define R_M32R_RELATIVE 53
3516 #define R_M32R_GOTOFF 54
3517 #define R_M32R_GOTPC24 55
3518 #define R_M32R_GOT16_HI_ULO 56
3520 #define R_M32R_GOT16_HI_SLO 57
3522 #define R_M32R_GOT16_LO 58
3523 #define R_M32R_GOTPC_HI_ULO 59
3525 #define R_M32R_GOTPC_HI_SLO 60
3527 #define R_M32R_GOTPC_LO 61
3529 #define R_M32R_GOTOFF_HI_ULO 62
3531 #define R_M32R_GOTOFF_HI_SLO 63
3533 #define R_M32R_GOTOFF_LO 64
3534 #define R_M32R_NUM 256
3558 #define MAXNAMLEN 255
RzBinInfo * info(RzBinFile *bf)
unsigned int __invalid_size_argument_for_IOC
unsigned short int sa_family_t
Elf32_Addr Elf32_Conflict
#define __SOCKADDR_COMMON_SIZE
void(* sighandler_t)(int)
static const struct in6_addr in6addr_any
unsigned short int d_reclen
union in6_addr::@318 __in6_u
struct in6_addr sin6_addr
unsigned char sin_zero[sizeof(struct sockaddr) - __SOCKADDR_COMMON_SIZE - sizeof(in_port_t) - sizeof(struct in_addr)]