Lines Matching defs:symbol

141 /* Type of symbol indices.  */
334 #define SHN_ABS 0xfff1 /* Associated symbol is absolute */
335 #define SHN_COMMON 0xfff2 /* Associated symbol is common */
351 #define SHT_DYNSYM 11 /* Dynamic linker symbol table */
359 #define SHT_GNU_versym 0x6fffffff /* Version symbol table. */
397 every dynamic symbol. */
401 Elf32_Half si_boundto; /* Direct bindings, symbol bound to */
402 Elf32_Half si_flags; /* Per symbol flags */
407 Elf64_Half si_boundto; /* Direct bindings, symbol bound to */
408 Elf64_Half si_flags; /* Per symbol flags */
417 #define SYMINFO_FLG_DIRECT 0x0001 /* Direct bound symbol */
418 #define SYMINFO_FLG_PASSTHRU 0x0002 /* Pass-thru symbol for translator */
430 #define SHN_UNDEF 0 /* No section, undefined symbol. */
443 /* Legal values for ST_BIND subfield of st_info (symbol binding). */
445 #define STB_LOCAL 0 /* Local symbol */
446 #define STB_GLOBAL 1 /* Global symbol */
447 #define STB_WEAK 2 /* Weak symbol */
454 /* Legal values for ST_TYPE subfield of st_info (symbol type). */
469 of a symbol hash table section. This special index value indicates
483 #define STV_DEFAULT 0 /* Default symbol visibility rules */
494 Elf32_Word r_info; /* Relocation type and symbol index */
505 Elf64_Xword r_info; /* Relocation type and symbol index */
513 Elf32_Word r_info; /* Relocation type and symbol index */
520 Elf64_Xword r_info; /* Relocation type and symbol index */
631 #define DT_HASH 4 /* Address of symbol hash table */
633 #define DT_SYMTAB 6 /* Address of symbol table */
638 #define DT_SYMENT 11 /* Size of one symbol table entry */
643 #define DT_SYMBOLIC 16 /* Start symbol search here */
955 #define R_68K_COPY 19 /* Copy symbol at runtime */
971 #define R_386_COPY 5 /* Copy symbol at runtime */
1013 #define R_SPARC_COPY 19 /* Copy symbol at runtime */
1454 /* Legal values for ST_TYPE subfield of st_info (symbol type). */
1532 #define R_ALPHA_COPY 24 /* Copy symbol at runtime */
1628 /* Additional symbol types for Thumb */
1658 #define R_ARM_COPY 20 /* Copy symbol at runtime */
1687 #define R_C60_COPY 5 /* Copy symbol at runtime */
1717 /* Table of DBX symbol codes for the GNU system.
1740 To find the address, look in the corresponding external symbol. */
1744 To find the address, look in the corresponding external symbol. */
1763 /* Global symbol in Pascal.
1859 The variables declared inside the block *precede* the N_LBRAC symbol. */
1895 /* Second symbol entry containing a length-value for the preceding entry.
2005 /* define preprocessor symbol 'sym'. Can put optional value */
2008 /* undefine preprocess symbol 'sym' */
2043 /* add a symbol to the compiled program */
2058 /* return symbol value. return 0 if OK, -1 if symbol not found */
2130 /* token symbol management */
2177 struct Sym *sym; /* symbol, if (VT_SYM | VT_CONST) */
2180 /* symbol management */
2182 long v; /* symbol token */
2186 struct Sym *next; /* next related symbol */
2187 struct Sym *prev; /* prev symbol in stack */
2188 struct Sym *prev_tok; /* previous symbol for this token */
2233 #define SYM_STRUCT 0x40000000 /* struct/union/enum symbol space */
2234 #define SYM_FIELD 0x20000000 /* struct/union field symbol space */
2341 /* symbol sections */
2349 rsym: return symbol
2350 anon_sym: anonymous symbol index
2370 /* symbol allocator */
2380 /* compile with debug symbol (and use them if error during execution) */
2443 /* temporary dynamic symbol sections (for dll loading) */
2445 /* exported dynamic symbol section */
2514 #define VT_SYM 0x0200 /* a symbol value is added */
5478 int type, int symbol);
5668 /* output a symbol and patch all calls to it */
5686 reference to a symbol. It is in fact the same as oad ! */
6604 /* add the symbol you want here if no dynamic linking is done */
6615 void *resolve_sym(TCCState *s1, const char *symbol, int type)
6620 if (!strcmp(p->str, symbol))
6783 /* symbol allocator */
6906 /* update sym->c so that it points to an external symbol in section
6983 /* add a new relocation entry to symbol 'sym' in section 's' */
7371 /* special name for anonymous symbol */
7397 /* find a symbol and return its associated structure. 's' is the top
7398 of the symbol stack */
7427 /* push a given symbol on the symbol stack */
7443 /* record symbol in token array */
7460 /* don't record anonymous symbol */
7484 /* remove symbol in token array */
7518 bf->buffer[0] = CH_EOB; /* put eob symbol */
8164 /* undefined a define symbol. Its name is just set to zero */
8243 /* define corresponding symbol. A size of
8496 /* undefine symbol by putting an invalid name */
9706 /* if symbol is a macro, prepare substitution */
9832 /* pop nested defined symbol */
10134 /* Return a static symbol pointing to a section */
10149 /* push a reference to a section offset by adding a dummy symbol */
10159 /* define a new external reference to a symbol 'v' of type 'u' */
10174 /* define a new external reference to a symbol 'v' of type 'u' */
10192 /* push a reference to global symbol v */
11074 /* symbol + constant case */
12550 /* we push a anonymous symbol which will contain the function prototype */
12570 /* we push a anonymous symbol which will contain the array
13012 symbol to it if not already done. It will have the
14376 /* see if the symbol was already defined */
14394 must play with the SHN_COMMON type of the symbol */
14398 /* no init data, we won't add more to the symbol */
14405 /* allocate symbol in corresponding section */
14443 /* update symbol definition */
14464 /* handles bounds now because the symbol must be defined
14549 /* parse a function defined by symbol 'sym' and generate its code in
14554 /* NOTE: we patch the symbol size later */
14558 /* put debug symbol */
14561 /* push a dummy symbol to enable local sym storage */
14572 /* patch symbol size */
14715 /* if symbol is already defined, then put complete type */
14718 /* put function symbol */
14857 /* an elf symbol of type STT_FILE must be put so that STB_LOCAL
14950 /* define a preprocessor symbol. A value can also be provided with the '=' operator */
14980 /* undefine a preprocessor symbol */
14987 /* undefine symbol by putting an invalid name */
17190 /* NOTE: by default, the symbol is global */
17194 /* if absolute symbol, no need to put a symbol value */
17301 because we store only one symbol in the expression */
17378 /* define symbol value in object file */
18152 /* elf symbol hashing function */
18201 /* return the symbol number */
18250 /* find global ELF symbol 'name' and return its index. Return 0 if not
18275 /* return elf symbol value or error */
18297 /* add an elf symbol : check if it is already defined and patch
18298 it. Return symbol index. NOTE that sh_num can be SHN_UNDEF. */
18317 /* ignore adding of undefined symbol if the
18318 corresponding symbol is already defined */
18329 /* NOTE: we accept that two DLL define the same symbol */
18352 int type, int symbol)
18372 rel->r_info = ELF32_R_INFO(symbol, type);
18379 unsigned char n_type; /* type of symbol */
18382 unsigned long n_value; /* value of symbol */
18421 /* In an ELF file symbol table, the local symbols must appear below
18424 modified to take into account the symbol table sorting */
18496 /* align symbol */
18508 /* relocate symbol table, resolve undefined symbols if do_resolve is
18509 true and output error if undefined symbol. */
18532 /* if dynamic symbol exist, then use it */
18550 error_noabort("undefined symbol '%s'", name);
18700 /* if the relocation is allocated, we change its symbol table */
18807 /* put a got entry corresponding to a symbol in symtab_section. 'size'
18822 /* if a got entry already exists for that symbol, no need to add one */
18867 /* the symbol is modified so that it will be relocated to
18898 /* the symbol is modified so that it will be relocated to
18951 /* look at the symbol got offset. If none, then add one */
18970 /* look at the symbol got offset. If none, then add one */
18989 /* look at the symbol got offset. If none, then add one */
19263 /* add dynamic symbol table */
19283 dynamic symbols. If a symbol STT_FUNC is found, then we
19284 add it in the PLT. If a symbol STT_OBJECT is found, we
19322 error_noabort("undefined symbol '%s'", name);
19340 corresponding symbol */
19350 /* XXX: avoid adding a symbol if already
19360 warning("undefined dynamic symbol '%s'", name);
19506 /* we do the following ordering: interp, symbol tables,
19653 /* relocate to the PLT if the symbol corresponds
19658 /* do symbol relocation */
20020 /* if a symbol is in a link once section, we use the
20021 already defined symbol. It is very important to get
20031 /* if no corresponding section added, no need to add symbol */
20039 /* add symbol */
20064 /* convert symbol index */
20193 /* coff symbol table : we handle it */
20200 /* skip symbol table or archive names */
20854 /* private symbol table for dynamic symbols */
21145 /* define symbol */