/external/elfutils/libelf/ |
gelf_getclass.c | 62 gelf_getclass (elf) 63 Elf *elf; 65 return elf == NULL || elf->kind != ELF_K_ELF ? ELFCLASSNONE : elf->class;
|
elf_readall.c | 64 set_address (Elf *elf, size_t offset) 66 if (elf->kind == ELF_K_AR) 68 Elf *child = elf->state.ar.children; 74 child->map_address = elf->map_address; 89 __libelf_readall (elf) 90 Elf *elf; 93 rwlock_wrlock (elf->lock) [all...] |
elf_cntl.c | 1 /* Control an ELF file desrciptor. 61 elf_cntl (elf, cmd) 62 Elf *elf; 67 if (elf == NULL) 70 if (elf->fildes == -1) 76 rwlock_wrlock (elf->lock); 82 if (elf->map_address == NULL && __libelf_readall (elf) == NULL) 92 elf->fildes = -1 [all...] |
elf_getbase.c | 62 elf_getbase (elf) 63 Elf *elf; 65 return elf == NULL ? (off_t) -1 : elf->start_offset;
|
elf_kind.c | 62 elf_kind (elf) 63 Elf *elf; 65 return elf == NULL ? ELF_K_NONE : elf->kind;
|
gelf_newehdr.c | 1 /* Create new ELF header. 62 gelf_newehdr (elf, class) 63 Elf *elf; 67 ? (unsigned long int) INTUSE(elf32_newehdr) (elf) 68 : (unsigned long int) INTUSE(elf64_newehdr) (elf));
|
gelf_checksum.c | 1 /* Convert from file to memory representation. Generic ELF version. 62 gelf_checksum (elf) 63 Elf *elf; 65 if (elf == NULL) 68 return (elf->class == ELFCLASS32 69 ? INTUSE(elf32_checksum) (elf) : INTUSE(elf64_checksum) (elf));
|
elf_rand.c | 62 elf_rand (elf, offset) 63 Elf *elf; 67 if (elf == NULL || elf->kind != ELF_K_AR) 70 rwlock_wrlock (elf->lock); 73 elf->state.ar.offset = elf->start_offset + offset; 76 if (__libelf_next_arhdr_wrlock (elf) != 0) 79 elf->state.ar.elf_ar_hdr.ar_name = NULL [all...] |
elf_rawfile.c | 62 elf_rawfile (elf, ptr) 63 Elf *elf; 68 if (elf == NULL) 79 if (elf->map_address == NULL && __libelf_readall (elf) == NULL) 82 rwlock_rdlock (elf->lock); 84 *ptr = elf->maximum_size; 86 result = (char *) elf->map_address + elf->start_offset [all...] |
elf32_newehdr.c | 1 /* Create new ELF header. 66 elfw2(LIBELFBITS,newehdr) (elf) 67 Elf *elf; 71 if (elf == NULL) 74 if (unlikely (elf->kind != ELF_K_ELF)) 80 rwlock_wrlock (elf->lock); 82 if (elf->class == 0) 83 elf->class = ELFW(ELFCLASS,LIBELFBITS); 84 else if (unlikely (elf->class != ELFW(ELFCLASS,LIBELFBITS)) [all...] |
elf32_getehdr.c | 1 /* Get ELF header. 66 getehdr_impl (elf, wrlock) 67 Elf *elf; 70 if (elf == NULL) 73 if (unlikely (elf->kind != ELF_K_ELF)) 80 if (elf->class == 0) 84 rwlock_unlock (elf->lock); 85 rwlock_wrlock (elf->lock); 89 elf->class = ELFW(ELFCLASS,LIBELFBITS) [all...] |
gelf_newphdr.c | 1 /* Create new ELF program header. 62 gelf_newphdr (elf, phnum) 63 Elf *elf; 66 return (elf->class == ELFCLASS32 67 ? (unsigned long int) INTUSE(elf32_newphdr) (elf, phnum) 68 : (unsigned long int) INTUSE(elf64_newphdr) (elf, phnum));
|
gelf_offscn.c | 1 /* Create new ELF header. 62 gelf_offscn (elf, offset) 63 Elf *elf; 66 if (elf->class == ELFCLASS32) 74 return INTUSE(elf32_offscn) (elf, (Elf32_Off) offset); 77 return INTUSE(elf64_offscn) (elf, offset);
|
elf_getshnum.c | 1 /* Return number of sections in the ELF file. 63 __elf_getshnum_rdlock (elf, dst) 64 Elf *elf; 70 if (elf == NULL) 73 if (unlikely (elf->kind != ELF_K_ELF)) 79 idx = elf->state.elf.scns_last->cnt; 81 || (elf->state.elf.scns_las [all...] |
elf_update.c | 64 write_file (Elf *elf, off_t size, int change_bo, size_t shnum) 66 int class = elf->class; 70 if (unlikely (fstat (elf->fildes, &st) != 0)) 81 if (elf->parent == NULL 82 && (elf->maximum_size == ~((size_t) 0) 83 || (size_t) size > elf->maximum_size) 84 && unlikely (ftruncate (elf->fildes, size) != 0)) 91 if (elf->map_address == NULL && elf->cmd == ELF_C_WRITE_MMAP [all...] |
elf_getaroff.c | 1 /* Return offset in archive for current file ELF. 63 elf_getaroff (elf) 64 Elf *elf; 67 if (elf == NULL || elf->parent == NULL) 71 Elf *parent = elf->parent; 74 return elf->start_offset - sizeof (struct ar_hdr) - parent->start_offset;
|
elf32_newphdr.c | 1 /* Create new ELF program header table. 67 elfw2(LIBELFBITS,newphdr) (elf, count) 68 Elf *elf; 73 if (elf == NULL) 76 if (unlikely (elf->kind != ELF_K_ELF)) 82 rwlock_wrlock (elf->lock); 84 if (elf->class == 0) 85 elf->class = ELFW(ELFCLASS,LIBELFBITS); 86 else if (unlikely (elf->class != ELFW(ELFCLASS,LIBELFBITS)) [all...] |
elf_flagehdr.c | 1 /* Manipulate ELF header flags. 62 elf_flagehdr (elf, cmd, flags) 63 Elf *elf; 69 if (elf == NULL) 72 if (unlikely (elf->kind != ELF_K_ELF)) 79 result = (elf->state.elf.ehdr_flags |= (flags & ELF_F_DIRTY)); 81 result = (elf->state.elf.ehdr_flags &= ~(flags & ELF_F_DIRTY)) [all...] |
elf_flagphdr.c | 1 /* Manipulate ELF program header flags. 62 elf_flagphdr (elf, cmd, flags) 63 Elf *elf; 69 if (elf == NULL) 72 if (unlikely (elf->kind != ELF_K_ELF)) 79 result = (elf->state.elf.phdr_flags |= (flags & ELF_F_DIRTY)); 81 result = (elf->state.elf.phdr_flags &= ~(flags & ELF_F_DIRTY)) [all...] |
elf_newscn.c | 65 elf_newscn (elf) 66 Elf *elf; 71 if (elf == NULL) 74 /* We rely on the prefix of the `elf', `elf32', and `elf64' element 76 assert (offsetof (Elf, state.elf.scns_last) 77 == offsetof (Elf, state.elf32.scns_last)); 78 assert (offsetof (Elf, state.elf.scns_last [all...] |
elf_clone.c | 61 Elf * 62 elf_clone (Elf *elf, Elf_Cmd cmd) 64 Elf *retval = NULL; 66 if (elf == NULL) 71 rwlock_rdlock (elf->lock); 77 retval = allocate_elf (elf->fildes, elf->map_address, elf->start_offset, 78 elf->maximum_size, elf->cmd, elf->parent, elf->kind [all...] |
elf_getident.c | 61 elf_getident (elf, ptr) 62 Elf *elf; 65 /* In case this is no ELF file, the handle is invalid and we return 67 if (elf == NULL || elf->kind != ELF_K_ELF) 74 /* We already read the ELF header. Return a pointer to it and store 79 return (char *) (elf->class == ELFCLASS32 80 || (offsetof (struct Elf, state.elf32.ehdr) 81 == offsetof (struct Elf, state.elf64.ehdr) [all...] |
/sdk/emulator/qtools/tests/ |
common_head.mk | 1 CC := arm-elf-gcc 2 LD := arm-elf-ld 3 AS := arm-elf-as 4 OBJCOPY := arm-elf-objcopy 5 OBJDUMP := arm-elf-objdump 10 .SUFFIXES: .dis .bin .elf 12 .c.elf: 18 .S.elf: 21 .elf.dis: 24 .elf.bin [all...] |
/external/chromium_org/third_party/yasm/source/patched-yasm/modules/objfmts/elf/tests/ |
elfcond.asm | 1 %ifidn __YASM_OBJFMT__,elf
|
/ndk/tests/build/issue38441-Elf32_auxv_t/jni/ |
issue38441-Elf32_auxv_t.c | 17 #include <elf.h>
|