Rizin
unix-like reverse engineering framework and cli tools
mips.h File Reference
#include "reloc-macros.h"

Go to the source code of this file.

Classes

struct  Elf32_External_Lib
 
union  Elf32_gptab
 
union  Elf32_External_gptab
 
struct  Elf32_RegInfo
 
struct  Elf32_External_RegInfo
 
struct  Elf64_Mips_External_Rel
 
struct  Elf64_Mips_Internal_Rel
 
struct  Elf64_Mips_External_Rela
 
struct  Elf64_Mips_Internal_Rela
 
struct  Elf_External_Options
 
struct  Elf_Internal_Options
 
struct  Elf64_External_RegInfo
 
struct  Elf64_Internal_RegInfo
 
struct  Elf32_External_Msym
 
struct  Elf32_Internal_Msym
 

Macros

#define EF_MIPS_NOREORDER   0x00000001
 
#define EF_MIPS_PIC   0x00000002
 
#define EF_MIPS_CPIC   0x00000004
 
#define EF_MIPS_XGOT   0x00000008
 
#define EF_MIPS_UCODE   0x00000010
 
#define EF_MIPS_ABI2   0x00000020
 
#define EF_MIPS_OPTIONS_FIRST   0x00000080
 
#define EF_MIPS_ARCH_ASE   0x0f000000
 
#define EF_MIPS_ARCH_ASE_MDMX   0x08000000
 
#define EF_MIPS_ARCH_ASE_M16   0x04000000
 
#define EF_MIPS_32BITMODE   0x00000100
 
#define EF_MIPS_ARCH   0xf0000000
 
#define E_MIPS_ARCH_1   0x00000000
 
#define E_MIPS_ARCH_2   0x10000000
 
#define E_MIPS_ARCH_3   0x20000000
 
#define E_MIPS_ARCH_4   0x30000000
 
#define E_MIPS_ARCH_5   0x40000000
 
#define E_MIPS_ARCH_32   0x50000000
 
#define E_MIPS_ARCH_64   0x60000000
 
#define E_MIPS_ARCH_32R2   0x70000000
 
#define E_MIPS_ARCH_64R2   0x80000000
 
#define EF_MIPS_ABI   0x0000F000
 
#define E_MIPS_ABI_O32   0x00001000
 
#define E_MIPS_ABI_O64   0x00002000
 
#define E_MIPS_ABI_EABI32   0x00003000
 
#define E_MIPS_ABI_EABI64   0x00004000
 
#define EF_MIPS_MACH   0x00FF0000
 
#define E_MIPS_MACH_3900   0x00810000
 
#define E_MIPS_MACH_4010   0x00820000
 
#define E_MIPS_MACH_4100   0x00830000
 
#define E_MIPS_MACH_4650   0x00850000
 
#define E_MIPS_MACH_4120   0x00870000
 
#define E_MIPS_MACH_4111   0x00880000
 
#define E_MIPS_MACH_SB1   0x008a0000
 
#define E_MIPS_MACH_5400   0x00910000
 
#define E_MIPS_MACH_5500   0x00980000
 
#define E_MIPS_MACH_9000   0x00990000
 
#define SHN_MIPS_ACOMMON   0xff00
 
#define SHN_MIPS_TEXT   0xff01
 
#define SHN_MIPS_DATA   0xff02
 
#define SHN_MIPS_SCOMMON   0xff03
 
#define SHN_MIPS_SUNDEFINED   0xff04
 
#define SHT_MIPS_LIBLIST   0x70000000
 
#define SHT_MIPS_MSYM   0x70000001
 
#define SHT_MIPS_CONFLICT   0x70000002
 
#define SHT_MIPS_GPTAB   0x70000003
 
#define SHT_MIPS_UCODE   0x70000004
 
#define SHT_MIPS_DEBUG   0x70000005
 
#define SHT_MIPS_REGINFO   0x70000006
 
#define SHT_MIPS_PACKAGE   0x70000007
 
#define SHT_MIPS_PACKSYM   0x70000008
 
#define SHT_MIPS_RELD   0x70000009
 
#define SHT_MIPS_IFACE   0x7000000b
 
#define SHT_MIPS_CONTENT   0x7000000c
 
#define SHT_MIPS_OPTIONS   0x7000000d
 
#define SHT_MIPS_SHDR   0x70000010
 
#define SHT_MIPS_FDESC   0x70000011
 
#define SHT_MIPS_EXTSYM   0x70000012
 
#define SHT_MIPS_DENSE   0x70000013
 
#define SHT_MIPS_PDESC   0x70000014
 
#define SHT_MIPS_LOCSYM   0x70000015
 
#define SHT_MIPS_AUXSYM   0x70000016
 
#define SHT_MIPS_OPTSYM   0x70000017
 
#define SHT_MIPS_LOCSTR   0x70000018
 
#define SHT_MIPS_LINE   0x70000019
 
#define SHT_MIPS_RFDESC   0x7000001a
 
#define SHT_MIPS_DELTASYM   0x7000001b
 
#define SHT_MIPS_DELTAINST   0x7000001c
 
#define SHT_MIPS_DELTACLASS   0x7000001d
 
#define SHT_MIPS_DWARF   0x7000001e
 
#define SHT_MIPS_DELTADECL   0x7000001f
 
#define SHT_MIPS_SYMBOL_LIB   0x70000020
 
#define SHT_MIPS_EVENTS   0x70000021
 
#define SHT_MIPS_TRANSLATE   0x70000022
 
#define SHT_MIPS_PIXIE   0x70000023
 
#define SHT_MIPS_XLATE   0x70000024
 
#define SHT_MIPS_XLATE_DEBUG   0x70000025
 
#define SHT_MIPS_WHIRL   0x70000026
 
#define SHT_MIPS_EH_REGION   0x70000027
 
#define SHT_MIPS_XLATE_OLD   0x70000028
 
#define SHT_MIPS_PDR_EXCEPTION   0x70000029
 
#define LL_EXACT_MATCH   0x00000001
 
#define LL_IGNORE_INT_VER   0x00000002
 
#define LL_REQUIRE_MINOR   0x00000004
 
#define LL_EXPORTS   0x00000008
 
#define LL_DELAY_LOAD   0x00000010
 
#define LL_DELTA   0x00000020
 
#define SHF_MIPS_GPREL   0x10000000
 
#define SHF_MIPS_MERGE   0x20000000
 
#define SHF_MIPS_ADDR   0x40000000
 
#define SHF_MIPS_STRING   0x80000000
 
#define SHF_MIPS_NOSTRIP   0x08000000
 
#define SHF_MIPS_LOCAL   0x04000000
 
#define SHF_MIPS_NAMES   0x02000000
 
#define SHF_MIPS_NODUPES   0x01000000
 
#define PT_MIPS_REGINFO   0x70000000
 
#define PT_MIPS_RTPROC   0x70000001
 
#define PT_MIPS_OPTIONS   0x70000002
 
#define DT_MIPS_RLD_VERSION   0x70000001
 
#define DT_MIPS_TIME_STAMP   0x70000002
 
#define DT_MIPS_ICHECKSUM   0x70000003
 
#define DT_MIPS_IVERSION   0x70000004
 
#define DT_MIPS_FLAGS   0x70000005
 
#define DT_MIPS_BASE_ADDRESS   0x70000006
 
#define DT_MIPS_MSYM   0x70000007
 
#define DT_MIPS_CONFLICT   0x70000008
 
#define DT_MIPS_LIBLIST   0x70000009
 
#define DT_MIPS_LOCAL_GOTNO   0x7000000a
 
#define DT_MIPS_CONFLICTNO   0x7000000b
 
#define DT_MIPS_LIBLISTNO   0x70000010
 
#define DT_MIPS_SYMTABNO   0x70000011
 
#define DT_MIPS_UNREFEXTNO   0x70000012
 
#define DT_MIPS_GOTSYM   0x70000013
 
#define DT_MIPS_HIPAGENO   0x70000014
 
#define DT_MIPS_RLD_MAP   0x70000016
 
#define DT_MIPS_DELTA_CLASS   0x70000017
 
#define DT_MIPS_DELTA_CLASS_NO   0x70000018
 
#define DT_MIPS_DELTA_INSTANCE   0x70000019
 
#define DT_MIPS_DELTA_INSTANCE_NO   0x7000001a
 
#define DT_MIPS_DELTA_RELOC   0x7000001b
 
#define DT_MIPS_DELTA_RELOC_NO   0x7000001c
 
#define DT_MIPS_DELTA_SYM   0x7000001d
 
#define DT_MIPS_DELTA_SYM_NO   0x7000001e
 
#define DT_MIPS_DELTA_CLASSSYM   0x70000020
 
#define DT_MIPS_DELTA_CLASSSYM_NO   0x70000021
 
#define DT_MIPS_CXX_FLAGS   0x70000022
 
#define DT_MIPS_PIXIE_INIT   0x70000023
 
#define DT_MIPS_SYMBOL_LIB   0x70000024
 
#define DT_MIPS_LOCALPAGE_GOTIDX   0x70000025
 
#define DT_MIPS_LOCAL_GOTIDX   0x70000026
 
#define DT_MIPS_HIDDEN_GOTIDX   0x70000027
 
#define DT_MIPS_PROTECTED_GOTIDX   0x70000028
 
#define DT_MIPS_OPTIONS   0x70000029
 
#define DT_MIPS_INTERFACE   0x7000002a
 
#define DT_MIPS_DYNSTR_ALIGN   0x7000002b
 
#define DT_MIPS_INTERFACE_SIZE   0x7000002c
 
#define DT_MIPS_RLD_TEXT_RESOLVE_ADDR   0x7000002d
 
#define DT_MIPS_PERF_SUFFIX   0x7000002e
 
#define DT_MIPS_COMPACT_SIZE   0x7000002f
 
#define DT_MIPS_GP_VALUE   0x70000030
 
#define DT_MIPS_AUX_DYNAMIC   0x70000031
 
#define RHF_NONE   0x00000000
 
#define RHF_QUICKSTART   0x00000001
 
#define RHF_NOTPOT   0x00000002
 
#define RHS_NO_LIBRARY_REPLACEMENT   0x00000004
 
#define RHF_NO_MOVE   0x00000008
 
#define RHF_SGI_ONLY   0x00000010
 
#define RHF_GUARANTEE_INIT   0x00000020
 
#define RHF_DELTA_C_PLUS_PLUS   0x00000040
 
#define RHF_GUARANTEE_START_INIT   0x00000080
 
#define RHF_PIXIE   0x00000100
 
#define RHF_DEFAULT_DELAY_LOAD   0x00000200
 
#define RHF_REQUICKSTART   0x00000400
 
#define RHF_REQUICKSTARTED   0x00000800
 
#define RHF_CORD   0x00001000
 
#define RHF_NO_UNRES_UNDEF   0x00002000
 
#define RHF_RLD_ORDER_SAFE   0x00004000
 
#define STO_DEFAULT   STV_DEFAULT
 
#define STO_INTERNAL   STV_INTERNAL
 
#define STO_HIDDEN   STV_HIDDEN
 
#define STO_PROTECTED   STV_PROTECTED
 
#define STO_MIPS16   0xf0
 
#define STO_OPTIONAL   (1 << 2)
 
#define ELF_MIPS_IS_OPTIONAL(other)   ((other)&STO_OPTIONAL)
 
#define ELF64_MIPS_R_SSYM(i)   (((i) >> 24) & 0xff)
 
#define ELF64_MIPS_R_TYPE3(i)   (((i) >> 16) & 0xff)
 
#define ELF64_MIPS_R_TYPE2(i)   (((i) >> 8) & 0xff)
 
#define ELF64_MIPS_R_TYPE(i)   ((i)&0xff)
 
#define RSS_UNDEF   0
 
#define RSS_GP   1
 
#define RSS_GP0   2
 
#define RSS_LOC   3
 
#define ODK_NULL   0
 
#define ODK_REGINFO   1
 
#define ODK_EXCEPTIONS   2
 
#define ODK_PAD   3
 
#define ODK_HWPATCH   4
 
#define ODK_FILL   5
 
#define ODK_TAGS   6
 
#define ODK_HWAND   7
 
#define ODK_HWOR   8
 
#define ODK_GP_GROUP   9
 
#define ODK_IDENT   10
 
#define ELF32_MS_REL_INDEX(i)   ((i) >> 8)
 
#define ELF32_MS_FLAGS(i)   (i) & 0xff)
 
#define ELF32_MS_INFO(r, f)   (((r) << 8) + ((f)&0xff))
 
#define OEX_FPU_MIN   0x1f /* FPEs which must be enabled. */
 
#define OEX_FPU_MAX   0x1f00 /* FPEs which may be enabled. */
 
#define OEX_PAGE0   0x10000 /* Page zero must be mapped. */
 
#define OEX_SMM   0x20000 /* Force sequential memory mode. */
 
#define OEX_FPDBUG
 
#define OEX_DISMISS   0x80000 /* Dismiss invalid address faults. */
 
#define OEX_FPU_INVAL   0x10 /* Invalid operation exception. */
 
#define OEX_FPU_DIV0   0x08 /* Division by zero exception. */
 
#define OEX_FPU_OFLO   0x04 /* Overflow exception. */
 
#define OEX_FPU_UFLO   0x02 /* Underflow exception. */
 
#define OEX_FPU_INEX   0x01 /* Inexact exception. */
 
#define OPAD_PREFIX   0x01
 
#define OPAD_POSTFIX   0x02
 
#define OPAD_SYMBOL   0x04
 
#define OHW_R4KEOP   0x00000001 /* R4000 end-of-page patch. */
 
#define OHW_R8KPFETCH   0x00000002 /* May need R8000 prefetch patch. */
 
#define OHW_R5KEOP   0x00000004 /* R5000 end-of-page patch. */
 
#define OHW_R5KCVTL
 
#define OHW_R10KLDL
 
#define OGP_GROUP   0x0000ffff /* GP group number. */
 
#define OGP_SELF   0xffff0000 /* Self-contained GP groups. */
 
#define OHWA0_R4KEOP_CHECKED   0x00000001
 
#define OHWA0_R4KEOP_CLEAN   0x00000002
 

Typedefs

typedef unsigned long Elf32_Conflict
 
typedef unsigned char Elf32_External_Conflict[4]
 
typedef unsigned long Elf64_Conflict
 
typedef unsigned char Elf64_External_Conflict[8]
 

Enumerations

enum  { Tag_GNU_MIPS_ABI_FP = 4 }
 

Functions

 RELOC_NUMBER (RZ_MIPS_32, 2) RELOC_NUMBER(RZ_MIPS_REL32
 
 RELOC_NUMBER (RZ_MIPS_GPREL16, 7) RELOC_NUMBER(RZ_MIPS_GOT16
 
 RELOC_NUMBER (RZ_MIPS_CALL16, 11) typedef struct
 
void bfd_mips_elf32_swap_reginfo_in (bfd *, const Elf32_External_RegInfo *, Elf32_RegInfo *)
 
void bfd_mips_elf32_swap_reginfo_out (bfd *, const Elf32_RegInfo *, Elf32_External_RegInfo *)
 
void bfd_mips_elf_swap_options_in (bfd *, const Elf_External_Options *, Elf_Internal_Options *)
 
void bfd_mips_elf_swap_options_out (bfd *, const Elf_Internal_Options *, Elf_External_Options *)
 
void bfd_mips_elf64_swap_reginfo_in (bfd *, const Elf64_External_RegInfo *, Elf64_Internal_RegInfo *)
 
void bfd_mips_elf64_swap_reginfo_out (bfd *, const Elf64_Internal_RegInfo *, Elf64_External_RegInfo *)
 

Variables

 Elf32_Lib
 

Macro Definition Documentation

◆ DT_MIPS_AUX_DYNAMIC

#define DT_MIPS_AUX_DYNAMIC   0x70000031

Definition at line 657 of file mips.h.

◆ DT_MIPS_BASE_ADDRESS

#define DT_MIPS_BASE_ADDRESS   0x70000006

Definition at line 546 of file mips.h.

◆ DT_MIPS_COMPACT_SIZE

#define DT_MIPS_COMPACT_SIZE   0x7000002f

Definition at line 651 of file mips.h.

◆ DT_MIPS_CONFLICT

#define DT_MIPS_CONFLICT   0x70000008

Definition at line 552 of file mips.h.

◆ DT_MIPS_CONFLICTNO

#define DT_MIPS_CONFLICTNO   0x7000000b

Definition at line 561 of file mips.h.

◆ DT_MIPS_CXX_FLAGS

#define DT_MIPS_CXX_FLAGS   0x70000022

Definition at line 612 of file mips.h.

◆ DT_MIPS_DELTA_CLASS

#define DT_MIPS_DELTA_CLASS   0x70000017

Definition at line 582 of file mips.h.

◆ DT_MIPS_DELTA_CLASS_NO

#define DT_MIPS_DELTA_CLASS_NO   0x70000018

Definition at line 585 of file mips.h.

◆ DT_MIPS_DELTA_CLASSSYM

#define DT_MIPS_DELTA_CLASSSYM   0x70000020

Definition at line 606 of file mips.h.

◆ DT_MIPS_DELTA_CLASSSYM_NO

#define DT_MIPS_DELTA_CLASSSYM_NO   0x70000021

Definition at line 609 of file mips.h.

◆ DT_MIPS_DELTA_INSTANCE

#define DT_MIPS_DELTA_INSTANCE   0x70000019

Definition at line 588 of file mips.h.

◆ DT_MIPS_DELTA_INSTANCE_NO

#define DT_MIPS_DELTA_INSTANCE_NO   0x7000001a

Definition at line 591 of file mips.h.

◆ DT_MIPS_DELTA_RELOC

#define DT_MIPS_DELTA_RELOC   0x7000001b

Definition at line 594 of file mips.h.

◆ DT_MIPS_DELTA_RELOC_NO

#define DT_MIPS_DELTA_RELOC_NO   0x7000001c

Definition at line 597 of file mips.h.

◆ DT_MIPS_DELTA_SYM

#define DT_MIPS_DELTA_SYM   0x7000001d

Definition at line 600 of file mips.h.

◆ DT_MIPS_DELTA_SYM_NO

#define DT_MIPS_DELTA_SYM_NO   0x7000001e

Definition at line 603 of file mips.h.

◆ DT_MIPS_DYNSTR_ALIGN

#define DT_MIPS_DYNSTR_ALIGN   0x7000002b

Definition at line 639 of file mips.h.

◆ DT_MIPS_FLAGS

#define DT_MIPS_FLAGS   0x70000005

Definition at line 543 of file mips.h.

◆ DT_MIPS_GOTSYM

#define DT_MIPS_GOTSYM   0x70000013

Definition at line 573 of file mips.h.

◆ DT_MIPS_GP_VALUE

#define DT_MIPS_GP_VALUE   0x70000030

Definition at line 654 of file mips.h.

◆ DT_MIPS_HIDDEN_GOTIDX

#define DT_MIPS_HIDDEN_GOTIDX   0x70000027

Definition at line 627 of file mips.h.

◆ DT_MIPS_HIPAGENO

#define DT_MIPS_HIPAGENO   0x70000014

Definition at line 576 of file mips.h.

◆ DT_MIPS_ICHECKSUM

#define DT_MIPS_ICHECKSUM   0x70000003

Definition at line 537 of file mips.h.

◆ DT_MIPS_INTERFACE

#define DT_MIPS_INTERFACE   0x7000002a

Definition at line 636 of file mips.h.

◆ DT_MIPS_INTERFACE_SIZE

#define DT_MIPS_INTERFACE_SIZE   0x7000002c

Definition at line 642 of file mips.h.

◆ DT_MIPS_IVERSION

#define DT_MIPS_IVERSION   0x70000004

Definition at line 540 of file mips.h.

◆ DT_MIPS_LIBLIST

#define DT_MIPS_LIBLIST   0x70000009

Definition at line 555 of file mips.h.

◆ DT_MIPS_LIBLISTNO

#define DT_MIPS_LIBLISTNO   0x70000010

Definition at line 564 of file mips.h.

◆ DT_MIPS_LOCAL_GOTIDX

#define DT_MIPS_LOCAL_GOTIDX   0x70000026

Definition at line 624 of file mips.h.

◆ DT_MIPS_LOCAL_GOTNO

#define DT_MIPS_LOCAL_GOTNO   0x7000000a

Definition at line 558 of file mips.h.

◆ DT_MIPS_LOCALPAGE_GOTIDX

#define DT_MIPS_LOCALPAGE_GOTIDX   0x70000025

Definition at line 621 of file mips.h.

◆ DT_MIPS_MSYM

#define DT_MIPS_MSYM   0x70000007

Definition at line 549 of file mips.h.

◆ DT_MIPS_OPTIONS

#define DT_MIPS_OPTIONS   0x70000029

Definition at line 633 of file mips.h.

◆ DT_MIPS_PERF_SUFFIX

#define DT_MIPS_PERF_SUFFIX   0x7000002e

Definition at line 648 of file mips.h.

◆ DT_MIPS_PIXIE_INIT

#define DT_MIPS_PIXIE_INIT   0x70000023

Definition at line 615 of file mips.h.

◆ DT_MIPS_PROTECTED_GOTIDX

#define DT_MIPS_PROTECTED_GOTIDX   0x70000028

Definition at line 630 of file mips.h.

◆ DT_MIPS_RLD_MAP

#define DT_MIPS_RLD_MAP   0x70000016

Definition at line 579 of file mips.h.

◆ DT_MIPS_RLD_TEXT_RESOLVE_ADDR

#define DT_MIPS_RLD_TEXT_RESOLVE_ADDR   0x7000002d

Definition at line 645 of file mips.h.

◆ DT_MIPS_RLD_VERSION

#define DT_MIPS_RLD_VERSION   0x70000001

Definition at line 531 of file mips.h.

◆ DT_MIPS_SYMBOL_LIB

#define DT_MIPS_SYMBOL_LIB   0x70000024

Definition at line 618 of file mips.h.

◆ DT_MIPS_SYMTABNO

#define DT_MIPS_SYMTABNO   0x70000011

Definition at line 567 of file mips.h.

◆ DT_MIPS_TIME_STAMP

#define DT_MIPS_TIME_STAMP   0x70000002

Definition at line 534 of file mips.h.

◆ DT_MIPS_UNREFEXTNO

#define DT_MIPS_UNREFEXTNO   0x70000012

Definition at line 570 of file mips.h.

◆ E_MIPS_ABI_EABI32

#define E_MIPS_ABI_EABI32   0x00003000

◆ E_MIPS_ABI_EABI64

#define E_MIPS_ABI_EABI64   0x00004000

◆ E_MIPS_ABI_O32

#define E_MIPS_ABI_O32   0x00001000

◆ E_MIPS_ABI_O64

#define E_MIPS_ABI_O64   0x00002000

◆ E_MIPS_ARCH_1

#define E_MIPS_ARCH_1   0x00000000

◆ E_MIPS_ARCH_2

#define E_MIPS_ARCH_2   0x10000000

◆ E_MIPS_ARCH_3

#define E_MIPS_ARCH_3   0x20000000

◆ E_MIPS_ARCH_32

#define E_MIPS_ARCH_32   0x50000000

◆ E_MIPS_ARCH_32R2

#define E_MIPS_ARCH_32R2   0x70000000

◆ E_MIPS_ARCH_4

#define E_MIPS_ARCH_4   0x30000000

◆ E_MIPS_ARCH_5

#define E_MIPS_ARCH_5   0x40000000

◆ E_MIPS_ARCH_64

#define E_MIPS_ARCH_64   0x60000000

◆ E_MIPS_ARCH_64R2

#define E_MIPS_ARCH_64R2   0x80000000

◆ E_MIPS_MACH_3900

#define E_MIPS_MACH_3900   0x00810000

◆ E_MIPS_MACH_4010

#define E_MIPS_MACH_4010   0x00820000

◆ E_MIPS_MACH_4100

#define E_MIPS_MACH_4100   0x00830000

◆ E_MIPS_MACH_4111

#define E_MIPS_MACH_4111   0x00880000

◆ E_MIPS_MACH_4120

#define E_MIPS_MACH_4120   0x00870000

◆ E_MIPS_MACH_4650

#define E_MIPS_MACH_4650   0x00850000

◆ E_MIPS_MACH_5400

#define E_MIPS_MACH_5400   0x00910000

◆ E_MIPS_MACH_5500

#define E_MIPS_MACH_5500   0x00980000

◆ E_MIPS_MACH_9000

#define E_MIPS_MACH_9000   0x00990000

◆ E_MIPS_MACH_SB1

#define E_MIPS_MACH_SB1   0x008a0000

◆ EF_MIPS_32BITMODE

#define EF_MIPS_32BITMODE   0x00000100

◆ EF_MIPS_ABI

#define EF_MIPS_ABI   0x0000F000

◆ EF_MIPS_ABI2

#define EF_MIPS_ABI2   0x00000020

◆ EF_MIPS_ARCH

#define EF_MIPS_ARCH   0xf0000000

◆ EF_MIPS_ARCH_ASE

#define EF_MIPS_ARCH_ASE   0x0f000000

◆ EF_MIPS_ARCH_ASE_M16

#define EF_MIPS_ARCH_ASE_M16   0x04000000

◆ EF_MIPS_ARCH_ASE_MDMX

#define EF_MIPS_ARCH_ASE_MDMX   0x08000000

◆ EF_MIPS_CPIC

#define EF_MIPS_CPIC   0x00000004

◆ EF_MIPS_MACH

#define EF_MIPS_MACH   0x00FF0000

◆ EF_MIPS_NOREORDER

#define EF_MIPS_NOREORDER   0x00000001

◆ EF_MIPS_OPTIONS_FIRST

#define EF_MIPS_OPTIONS_FIRST   0x00000080

◆ EF_MIPS_PIC

#define EF_MIPS_PIC   0x00000002

◆ EF_MIPS_UCODE

#define EF_MIPS_UCODE   0x00000010

◆ EF_MIPS_XGOT

#define EF_MIPS_XGOT   0x00000008

◆ ELF32_MS_FLAGS

#define ELF32_MS_FLAGS (   i)    (i) & 0xff)

Definition at line 955 of file mips.h.

◆ ELF32_MS_INFO

#define ELF32_MS_INFO (   r,
  f 
)    (((r) << 8) + ((f)&0xff))

Definition at line 956 of file mips.h.

◆ ELF32_MS_REL_INDEX

#define ELF32_MS_REL_INDEX (   i)    ((i) >> 8)

Definition at line 954 of file mips.h.

◆ ELF64_MIPS_R_SSYM

#define ELF64_MIPS_R_SSYM (   i)    (((i) >> 24) & 0xff)

Definition at line 810 of file mips.h.

◆ ELF64_MIPS_R_TYPE

#define ELF64_MIPS_R_TYPE (   i)    ((i)&0xff)

Definition at line 813 of file mips.h.

◆ ELF64_MIPS_R_TYPE2

#define ELF64_MIPS_R_TYPE2 (   i)    (((i) >> 8) & 0xff)

Definition at line 812 of file mips.h.

◆ ELF64_MIPS_R_TYPE3

#define ELF64_MIPS_R_TYPE3 (   i)    (((i) >> 16) & 0xff)

Definition at line 811 of file mips.h.

◆ ELF_MIPS_IS_OPTIONAL

#define ELF_MIPS_IS_OPTIONAL (   other)    ((other)&STO_OPTIONAL)

Definition at line 727 of file mips.h.

◆ LL_DELAY_LOAD

#define LL_DELAY_LOAD   0x00000010

Definition at line 412 of file mips.h.

◆ LL_DELTA

#define LL_DELTA   0x00000020

Definition at line 415 of file mips.h.

◆ LL_EXACT_MATCH

#define LL_EXACT_MATCH   0x00000001

Definition at line 400 of file mips.h.

◆ LL_EXPORTS

#define LL_EXPORTS   0x00000008

Definition at line 409 of file mips.h.

◆ LL_IGNORE_INT_VER

#define LL_IGNORE_INT_VER   0x00000002

Definition at line 403 of file mips.h.

◆ LL_REQUIRE_MINOR

#define LL_REQUIRE_MINOR   0x00000004

Definition at line 406 of file mips.h.

◆ ODK_EXCEPTIONS

#define ODK_EXCEPTIONS   2

Definition at line 870 of file mips.h.

◆ ODK_FILL

#define ODK_FILL   5

Definition at line 879 of file mips.h.

◆ ODK_GP_GROUP

#define ODK_GP_GROUP   9

Definition at line 891 of file mips.h.

◆ ODK_HWAND

#define ODK_HWAND   7

Definition at line 885 of file mips.h.

◆ ODK_HWOR

#define ODK_HWOR   8

Definition at line 888 of file mips.h.

◆ ODK_HWPATCH

#define ODK_HWPATCH   4

Definition at line 876 of file mips.h.

◆ ODK_IDENT

#define ODK_IDENT   10

Definition at line 894 of file mips.h.

◆ ODK_NULL

#define ODK_NULL   0

Definition at line 864 of file mips.h.

◆ ODK_PAD

#define ODK_PAD   3

Definition at line 873 of file mips.h.

◆ ODK_REGINFO

#define ODK_REGINFO   1

Definition at line 867 of file mips.h.

◆ ODK_TAGS

#define ODK_TAGS   6

Definition at line 882 of file mips.h.

◆ OEX_DISMISS

#define OEX_DISMISS   0x80000 /* Dismiss invalid address faults. */

Definition at line 968 of file mips.h.

◆ OEX_FPDBUG

#define OEX_FPDBUG
Value:
0x40000 /* Force precise floating-point \
exceptions (debug mode). */

Definition at line 967 of file mips.h.

◆ OEX_FPU_DIV0

#define OEX_FPU_DIV0   0x08 /* Division by zero exception. */

Definition at line 972 of file mips.h.

◆ OEX_FPU_INEX

#define OEX_FPU_INEX   0x01 /* Inexact exception. */

Definition at line 975 of file mips.h.

◆ OEX_FPU_INVAL

#define OEX_FPU_INVAL   0x10 /* Invalid operation exception. */

Definition at line 971 of file mips.h.

◆ OEX_FPU_MAX

#define OEX_FPU_MAX   0x1f00 /* FPEs which may be enabled. */

Definition at line 964 of file mips.h.

◆ OEX_FPU_MIN

#define OEX_FPU_MIN   0x1f /* FPEs which must be enabled. */

Definition at line 963 of file mips.h.

◆ OEX_FPU_OFLO

#define OEX_FPU_OFLO   0x04 /* Overflow exception. */

Definition at line 973 of file mips.h.

◆ OEX_FPU_UFLO

#define OEX_FPU_UFLO   0x02 /* Underflow exception. */

Definition at line 974 of file mips.h.

◆ OEX_PAGE0

#define OEX_PAGE0   0x10000 /* Page zero must be mapped. */

Definition at line 965 of file mips.h.

◆ OEX_SMM

#define OEX_SMM   0x20000 /* Force sequential memory mode. */

Definition at line 966 of file mips.h.

◆ OGP_GROUP

#define OGP_GROUP   0x0000ffff /* GP group number. */

Definition at line 990 of file mips.h.

◆ OGP_SELF

#define OGP_SELF   0xffff0000 /* Self-contained GP groups. */

Definition at line 991 of file mips.h.

◆ OHW_R10KLDL

#define OHW_R10KLDL
Value:
0x00000010 /* Needs R10K misaligned \
load patch. */

Definition at line 987 of file mips.h.

◆ OHW_R4KEOP

#define OHW_R4KEOP   0x00000001 /* R4000 end-of-page patch. */

Definition at line 983 of file mips.h.

◆ OHW_R5KCVTL

#define OHW_R5KCVTL
Value:
0x00000008 /* R5000 cvt.[ds].l bug \
(clean == 1). */

Definition at line 986 of file mips.h.

◆ OHW_R5KEOP

#define OHW_R5KEOP   0x00000004 /* R5000 end-of-page patch. */

Definition at line 985 of file mips.h.

◆ OHW_R8KPFETCH

#define OHW_R8KPFETCH   0x00000002 /* May need R8000 prefetch patch. */

Definition at line 984 of file mips.h.

◆ OHWA0_R4KEOP_CHECKED

#define OHWA0_R4KEOP_CHECKED   0x00000001

Definition at line 994 of file mips.h.

◆ OHWA0_R4KEOP_CLEAN

#define OHWA0_R4KEOP_CLEAN   0x00000002

Definition at line 995 of file mips.h.

◆ OPAD_POSTFIX

#define OPAD_POSTFIX   0x02

Definition at line 979 of file mips.h.

◆ OPAD_PREFIX

#define OPAD_PREFIX   0x01

Definition at line 978 of file mips.h.

◆ OPAD_SYMBOL

#define OPAD_SYMBOL   0x04

Definition at line 980 of file mips.h.

◆ PT_MIPS_OPTIONS

#define PT_MIPS_OPTIONS   0x70000002

Definition at line 526 of file mips.h.

◆ PT_MIPS_REGINFO

#define PT_MIPS_REGINFO   0x70000000

Definition at line 520 of file mips.h.

◆ PT_MIPS_RTPROC

#define PT_MIPS_RTPROC   0x70000001

Definition at line 523 of file mips.h.

◆ RHF_CORD

#define RHF_CORD   0x00001000

Definition at line 703 of file mips.h.

◆ RHF_DEFAULT_DELAY_LOAD

#define RHF_DEFAULT_DELAY_LOAD   0x00000200

Definition at line 694 of file mips.h.

◆ RHF_DELTA_C_PLUS_PLUS

#define RHF_DELTA_C_PLUS_PLUS   0x00000040

Definition at line 684 of file mips.h.

◆ RHF_GUARANTEE_INIT

#define RHF_GUARANTEE_INIT   0x00000020

Definition at line 681 of file mips.h.

◆ RHF_GUARANTEE_START_INIT

#define RHF_GUARANTEE_START_INIT   0x00000080

Definition at line 688 of file mips.h.

◆ RHF_NO_MOVE

#define RHF_NO_MOVE   0x00000008

Definition at line 674 of file mips.h.

◆ RHF_NO_UNRES_UNDEF

#define RHF_NO_UNRES_UNDEF   0x00002000

Definition at line 706 of file mips.h.

◆ RHF_NONE

#define RHF_NONE   0x00000000

Definition at line 662 of file mips.h.

◆ RHF_NOTPOT

#define RHF_NOTPOT   0x00000002

Definition at line 668 of file mips.h.

◆ RHF_PIXIE

#define RHF_PIXIE   0x00000100

Definition at line 691 of file mips.h.

◆ RHF_QUICKSTART

#define RHF_QUICKSTART   0x00000001

Definition at line 665 of file mips.h.

◆ RHF_REQUICKSTART

#define RHF_REQUICKSTART   0x00000400

Definition at line 697 of file mips.h.

◆ RHF_REQUICKSTARTED

#define RHF_REQUICKSTARTED   0x00000800

Definition at line 700 of file mips.h.

◆ RHF_RLD_ORDER_SAFE

#define RHF_RLD_ORDER_SAFE   0x00004000

Definition at line 709 of file mips.h.

◆ RHF_SGI_ONLY

#define RHF_SGI_ONLY   0x00000010

Definition at line 677 of file mips.h.

◆ RHS_NO_LIBRARY_REPLACEMENT

#define RHS_NO_LIBRARY_REPLACEMENT   0x00000004

Definition at line 671 of file mips.h.

◆ RSS_GP

#define RSS_GP   1

Definition at line 821 of file mips.h.

◆ RSS_GP0

#define RSS_GP0   2

Definition at line 824 of file mips.h.

◆ RSS_LOC

#define RSS_LOC   3

Definition at line 827 of file mips.h.

◆ RSS_UNDEF

#define RSS_UNDEF   0

Definition at line 818 of file mips.h.

◆ SHF_MIPS_ADDR

#define SHF_MIPS_ADDR   0x40000000

Definition at line 499 of file mips.h.

◆ SHF_MIPS_GPREL

#define SHF_MIPS_GPREL   0x10000000

Definition at line 492 of file mips.h.

◆ SHF_MIPS_LOCAL

#define SHF_MIPS_LOCAL   0x04000000

Definition at line 508 of file mips.h.

◆ SHF_MIPS_MERGE

#define SHF_MIPS_MERGE   0x20000000

Definition at line 495 of file mips.h.

◆ SHF_MIPS_NAMES

#define SHF_MIPS_NAMES   0x02000000

Definition at line 511 of file mips.h.

◆ SHF_MIPS_NODUPES

#define SHF_MIPS_NODUPES   0x01000000

Definition at line 515 of file mips.h.

◆ SHF_MIPS_NOSTRIP

#define SHF_MIPS_NOSTRIP   0x08000000

Definition at line 505 of file mips.h.

◆ SHF_MIPS_STRING

#define SHF_MIPS_STRING   0x80000000

Definition at line 502 of file mips.h.

◆ SHN_MIPS_ACOMMON

#define SHN_MIPS_ACOMMON   0xff00

◆ SHN_MIPS_DATA

#define SHN_MIPS_DATA   0xff02

◆ SHN_MIPS_SCOMMON

#define SHN_MIPS_SCOMMON   0xff03

◆ SHN_MIPS_SUNDEFINED

#define SHN_MIPS_SUNDEFINED   0xff04

◆ SHN_MIPS_TEXT

#define SHN_MIPS_TEXT   0xff01

◆ SHT_MIPS_AUXSYM

#define SHT_MIPS_AUXSYM   0x70000016

◆ SHT_MIPS_CONFLICT

#define SHT_MIPS_CONFLICT   0x70000002

◆ SHT_MIPS_CONTENT

#define SHT_MIPS_CONTENT   0x7000000c

◆ SHT_MIPS_DEBUG

#define SHT_MIPS_DEBUG   0x70000005

◆ SHT_MIPS_DELTACLASS

#define SHT_MIPS_DELTACLASS   0x7000001d

◆ SHT_MIPS_DELTADECL

#define SHT_MIPS_DELTADECL   0x7000001f

◆ SHT_MIPS_DELTAINST

#define SHT_MIPS_DELTAINST   0x7000001c

◆ SHT_MIPS_DELTASYM

#define SHT_MIPS_DELTASYM   0x7000001b

◆ SHT_MIPS_DENSE

#define SHT_MIPS_DENSE   0x70000013

◆ SHT_MIPS_DWARF

#define SHT_MIPS_DWARF   0x7000001e

◆ SHT_MIPS_EH_REGION

#define SHT_MIPS_EH_REGION   0x70000027

◆ SHT_MIPS_EVENTS

#define SHT_MIPS_EVENTS   0x70000021

◆ SHT_MIPS_EXTSYM

#define SHT_MIPS_EXTSYM   0x70000012

◆ SHT_MIPS_FDESC

#define SHT_MIPS_FDESC   0x70000011

◆ SHT_MIPS_GPTAB

#define SHT_MIPS_GPTAB   0x70000003

◆ SHT_MIPS_IFACE

#define SHT_MIPS_IFACE   0x7000000b

◆ SHT_MIPS_LIBLIST

#define SHT_MIPS_LIBLIST   0x70000000

◆ SHT_MIPS_LINE

#define SHT_MIPS_LINE   0x70000019

◆ SHT_MIPS_LOCSTR

#define SHT_MIPS_LOCSTR   0x70000018

◆ SHT_MIPS_LOCSYM

#define SHT_MIPS_LOCSYM   0x70000015

◆ SHT_MIPS_MSYM

#define SHT_MIPS_MSYM   0x70000001

◆ SHT_MIPS_OPTIONS

#define SHT_MIPS_OPTIONS   0x7000000d

◆ SHT_MIPS_OPTSYM

#define SHT_MIPS_OPTSYM   0x70000017

◆ SHT_MIPS_PACKAGE

#define SHT_MIPS_PACKAGE   0x70000007

◆ SHT_MIPS_PACKSYM

#define SHT_MIPS_PACKSYM   0x70000008

◆ SHT_MIPS_PDESC

#define SHT_MIPS_PDESC   0x70000014

◆ SHT_MIPS_PDR_EXCEPTION

#define SHT_MIPS_PDR_EXCEPTION   0x70000029

◆ SHT_MIPS_PIXIE

#define SHT_MIPS_PIXIE   0x70000023

◆ SHT_MIPS_REGINFO

#define SHT_MIPS_REGINFO   0x70000006

◆ SHT_MIPS_RELD

#define SHT_MIPS_RELD   0x70000009

◆ SHT_MIPS_RFDESC

#define SHT_MIPS_RFDESC   0x7000001a

◆ SHT_MIPS_SHDR

#define SHT_MIPS_SHDR   0x70000010

◆ SHT_MIPS_SYMBOL_LIB

#define SHT_MIPS_SYMBOL_LIB   0x70000020

◆ SHT_MIPS_TRANSLATE

#define SHT_MIPS_TRANSLATE   0x70000022

◆ SHT_MIPS_UCODE

#define SHT_MIPS_UCODE   0x70000004

◆ SHT_MIPS_WHIRL

#define SHT_MIPS_WHIRL   0x70000026

◆ SHT_MIPS_XLATE

#define SHT_MIPS_XLATE   0x70000024

◆ SHT_MIPS_XLATE_DEBUG

#define SHT_MIPS_XLATE_DEBUG   0x70000025

◆ SHT_MIPS_XLATE_OLD

#define SHT_MIPS_XLATE_OLD   0x70000028

◆ STO_DEFAULT

#define STO_DEFAULT   STV_DEFAULT

Definition at line 714 of file mips.h.

◆ STO_HIDDEN

#define STO_HIDDEN   STV_HIDDEN

Definition at line 716 of file mips.h.

◆ STO_INTERNAL

#define STO_INTERNAL   STV_INTERNAL

Definition at line 715 of file mips.h.

◆ STO_MIPS16

#define STO_MIPS16   0xf0

Definition at line 720 of file mips.h.

◆ STO_OPTIONAL

#define STO_OPTIONAL   (1 << 2)

Definition at line 725 of file mips.h.

◆ STO_PROTECTED

#define STO_PROTECTED   STV_PROTECTED

Definition at line 717 of file mips.h.

Typedef Documentation

◆ Elf32_Conflict

Definition at line 419 of file mips.h.

◆ Elf32_External_Conflict

typedef unsigned char Elf32_External_Conflict[4]

Definition at line 420 of file mips.h.

◆ Elf64_Conflict

Definition at line 422 of file mips.h.

◆ Elf64_External_Conflict

typedef unsigned char Elf64_External_Conflict[8]

Definition at line 423 of file mips.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
Tag_GNU_MIPS_ABI_FP 

Definition at line 998 of file mips.h.

1001  {
1002  /* 0-3 are generic. */
1003  Tag_GNU_MIPS_ABI_FP = 4, /* Value 1 for hard-float -mdouble-float, 2
1004  for hard-float -msingle-float, 3 for
1005  soft-float; 0 for not tagged or not
@ Tag_GNU_MIPS_ABI_FP
Definition: mips.h:1000

Function Documentation

◆ bfd_mips_elf32_swap_reginfo_in()

void bfd_mips_elf32_swap_reginfo_in ( bfd ,
const Elf32_External_RegInfo ,
Elf32_RegInfo  
)

◆ bfd_mips_elf32_swap_reginfo_out()

void bfd_mips_elf32_swap_reginfo_out ( bfd ,
const Elf32_RegInfo ,
Elf32_External_RegInfo  
)

◆ bfd_mips_elf64_swap_reginfo_in()

void bfd_mips_elf64_swap_reginfo_in ( bfd ,
const Elf64_External_RegInfo ,
Elf64_Internal_RegInfo  
)

◆ bfd_mips_elf64_swap_reginfo_out()

void bfd_mips_elf64_swap_reginfo_out ( bfd ,
const Elf64_Internal_RegInfo ,
Elf64_External_RegInfo  
)

◆ bfd_mips_elf_swap_options_in()

void bfd_mips_elf_swap_options_in ( bfd ,
const Elf_External_Options ,
Elf_Internal_Options  
)

◆ bfd_mips_elf_swap_options_out()

void bfd_mips_elf_swap_options_out ( bfd ,
const Elf_Internal_Options ,
Elf_External_Options  
)

◆ RELOC_NUMBER() [1/3]

RELOC_NUMBER ( RZ_MIPS_32  ,
 
)

◆ RELOC_NUMBER() [2/3]

RELOC_NUMBER ( RZ_MIPS_CALL16  ,
11   
)

Definition at line 50 of file mips.h.

373 {
374  /* String table index for name of shared object. */
375  unsigned long l_name;
376  /* Time stamp. */
377  unsigned long l_time_stamp;
378  /* Checksum of symbol names and common sizes. */
379  unsigned long l_checksum;
380  /* String table index for version. */
381  unsigned long l_version;
382  /* Flags. */
383  unsigned long l_flags;
384 } Elf32_Lib;
Elf32_Lib
Definition: mips.h:384

◆ RELOC_NUMBER() [3/3]

RELOC_NUMBER ( RZ_MIPS_GPREL16  ,
 
)

Variable Documentation

◆ Elf32_Lib

Definition at line 384 of file mips.h.