/external/elfutils/libebl/ |
libebl_arm.h | 21 extern int arm_init (Elf *elf, GElf_Half machine, Ebl *eh, size_t ehlen);
|
libebl_sh.h | 21 extern int sh_init (Elf *elf, GElf_Half machine, Ebl *eh, size_t ehlen);
|
libebl_sparc.h | 21 extern int sparc_init (Elf *elf, GElf_Half machine, Ebl *eh, size_t ehlen);
|
eblopenbackend.c | 1 /* Generate ELF backend handle. 29 as the ELF specification is concerned. */ 125 static bool default_reloc_valid_use (Elf *elf, int ignore); 126 static bool default_gotpc_reloc_check (Elf *elf, int ignore); 156 /* Find an appropriate backend for the file associated with ELF. */ 158 openbackend (elf, emulation, machine) 159 Elf *elf; [all...] |
/external/elfutils/tests/ |
asm-tst8.c | 31 Elf *elf; local 68 elf = elf_begin (fd, ELF_C_READ, NULL); 69 if (elf == NULL) 71 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); 75 if (elf_kind (elf) != ELF_K_ELF) 77 puts ("not a valid ELF file"); 88 scn = elf_getscn (elf, cnt); 109 / gelf_fsize (elf, ELF_T_SYM, 1, EV_CURRENT)); 164 elf_end (elf); [all...] |
update4.c | 35 Elf *elf; local 60 elf = elf_begin (fd, ELF_C_WRITE, NULL); 61 if (elf == NULL) 63 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); 67 /* Create an ELF header. */ 68 ehdr = elf32_newehdr (elf); 71 printf ("cannot create ELF header: %s\n", elf_errmsg (-1)); 75 /* Print the ELF header values. */ 97 elf_flagehdr (elf, ELF_C_SET, ELF_F_DIRTY) [all...] |
asm-tst1.c | 61 Elf *elf; local 110 elf = elf_begin (fd, ELF_C_READ, NULL); 111 if (elf == NULL) 113 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); 117 if (elf_kind (elf) != ELF_K_ELF) 119 puts ("not a valid ELF file"); 124 ehdr = gelf_getehdr (elf, &ehdr_mem); 127 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)); 134 puts ("ELF header does not match") [all...] |
asm-tst2.c | 61 Elf *elf; local 126 elf = elf_begin (fd, ELF_C_READ, NULL); 127 if (elf == NULL) 129 printf ("cannot create ELF descriptor: %s\n", elf_errmsg (-1)); 133 if (elf_kind (elf) != ELF_K_ELF) 135 puts ("not a valid ELF file"); 140 ehdr = gelf_getehdr (elf, &ehdr_mem); 143 printf ("cannot get ELF header: %s\n", elf_errmsg (-1)); 150 puts ("ELF header does not match") [all...] |
/external/elfutils/libelf/ |
gelf_fsize.c | 67 gelf_fsize (elf, type, count, version) 68 Elf *elf; 75 if (elf == NULL) 91 return count * __libelf_type_sizes[version - 1][elf->class - 1][type]; 93 return count * __libelf_type_sizes[0][elf->class - 1][type];
|
gelf_getlib.c | 46 rwlock_rdlock (data_scn->s->elf->lock); 65 rwlock_unlock (data_scn->s->elf->lock);
|
gelf_getsyminfo.c | 50 rwlock_rdlock (((Elf_Data_Scn *) data)->s->elf->lock); 65 rwlock_unlock (((Elf_Data_Scn *) data)->s->elf->lock);
|
gelf_getverdaux.c | 51 rwlock_rdlock (((Elf_Data_Scn *) data)->s->elf->lock); 67 rwlock_unlock (((Elf_Data_Scn *) data)->s->elf->lock);
|
gelf_getverdef.c | 51 rwlock_rdlock (((Elf_Data_Scn *) data)->s->elf->lock); 66 rwlock_unlock (((Elf_Data_Scn *) data)->s->elf->lock);
|
gelf_getvernaux.c | 54 rwlock_rdlock (((Elf_Data_Scn *) data)->s->elf->lock); 69 rwlock_unlock (((Elf_Data_Scn *) data)->s->elf->lock);
|
gelf_getverneed.c | 54 rwlock_rdlock (((Elf_Data_Scn *) data)->s->elf->lock); 69 rwlock_unlock (((Elf_Data_Scn *) data)->s->elf->lock);
|
gelf_getversym.c | 58 rwlock_rdlock (scn->elf->lock); 74 rwlock_unlock (scn->elf->lock);
|
gelf_update_lib.c | 53 rwlock_wrlock (scn->elf->lock); 69 rwlock_unlock (scn->elf->lock);
|
gelf_update_move.c | 59 rwlock_wrlock (data_scn->s->elf->lock); 66 rwlock_unlock (data_scn->s->elf->lock);
|
gelf_update_syminfo.c | 60 rwlock_wrlock (scn->elf->lock); 77 rwlock_unlock (scn->elf->lock);
|
gelf_update_verdaux.c | 59 rwlock_wrlock (data_scn->s->elf->lock); 66 rwlock_unlock (data_scn->s->elf->lock);
|
gelf_update_verdef.c | 59 rwlock_wrlock (data_scn->s->elf->lock); 66 rwlock_unlock (data_scn->s->elf->lock);
|
gelf_update_vernaux.c | 59 rwlock_wrlock (data_scn->s->elf->lock); 66 rwlock_unlock (data_scn->s->elf->lock);
|
/build/tools/soslim/ |
symfilter.c | 18 static int match_hash_table_section(Elf *elf, Elf_Scn *sect, void *data); 19 static int match_dynsym_section(Elf *elf, Elf_Scn *sect, void *data); 21 void build_symfilter(const char *name, Elf *elf, symfilter_t *filter, 58 /* Make sure that the ELF file has a hash table. We will use the hash 65 map_over_sections(elf, match_dynsym_section, filter); 69 map_over_sections(elf, match_hash_table_section, filter); 79 ehdr = gelf_getehdr(elf, &ehdr_mem) [all...] |
/cts/apps/CtsVerifier/arduino-helper/ |
Makefile | 149 build: elf hex 160 elf: $(OUT_DIR)/$(TARGET).elf 175 ELFSIZE = $(SIZE) $(OUT_DIR)/$(TARGET).elf 177 @if [ -f $(OUT_DIR)/$(TARGET).elf ]; then echo $(MSG_SIZE_BEFORE); $(HEXSIZE); fi 180 @if [ -f $(OUT_DIR)/$(TARGET).elf ]; then echo $(MSG_SIZE_AFTER); $(HEXSIZE); fi 183 # Convert ELF to COFF for use in debugging / simulating in AVR Studio or VMLAB. 191 coff: $(OUT_DIR)/$(TARGET).elf 192 $(COFFCONVERT) -O coff-avr $(OUT_DIR)/$(TARGET).elf $(TARGET).cof 195 extcoff: $(TARGET).elf [all...] |
/external/elfcopy/ |
elfcopy.h | 6 #include <elf.h> 75 void adjust_elf(Elf *elf, const char *elf_name, 76 Elf *newelf, const char *newelf_name, 78 GElf_Ehdr *ehdr, /* store ELF header of original library */
|