HomeSort by relevance Sort by last modified time
    Searched refs:elf (Results 176 - 200 of 317) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/elfcopy/
elfcopy.c 9 #include <elf.h>
29 on the target ELF handle with code that extracts the strings directly from
30 the data buffers of that ELF handle. In this case, elf_strptr() does not
37 static void update_relocations_section_symbol_references(Elf *newelf, Elf *elf,
42 static void update_relocations_section_offsets(Elf *newelf, Elf *elf, Ebl *ebl,
49 static void update_hash_table(Elf *newelf, Elf *elf
1423 static void update_relocations_section_offsets(Elf *newelf __attribute((unused)), Elf *elf, variable
    [all...]
common.h 5 #include <elf.h>
12 typedef int (*section_match_fn_t)(Elf *, Elf_Scn *, void *);
13 void map_over_sections(Elf *, section_match_fn_t, void *);
15 typedef int (*segment_match_fn_t)(Elf *, Elf32_Phdr *, void *);
16 void map_over_segments(Elf *, segment_match_fn_t, void *);
hash.c 50 int hash_lookup(Elf *elf,
70 elf_strptr(elf, symtab_info->hdr->sh_link, sym->st_name)))
  /external/elfutils/src/
elflint.c 1 /* Pedantic checking of ELF files compliance with gABI/psABI spec.
36 #include <elf-knowledge.h>
63 Pedantic checking of ELF files compliance with gABI/psABI spec.");
82 static void process_file (int fd, Elf *elf, const char *prefix,
85 static void process_elf_file (Elf *elf, const char *prefix, const char *suffix,
127 /* If no ELF file is given punt. */
135 /* Before we start tell the ELF library which version we are using. */
143 Elf *elf local
    [all...]
sectionhash.c 21 #include <elf-knowledge.h>
strip.c 39 #include <elf-knowledge.h>
68 N_("Relax a few rules to handle slightly broken ELF files") },
94 /* Handle one ELF file. */
95 static int handle_elf (int fd, Elf *elf, const char *prefix,
99 static int handle_ar (int fd, Elf *elf, const char *prefix, const char *fname,
122 /* If true relax some ELF rules for input files. */
298 /* Now get the ELF descriptor. */
299 Elf *elf = elf_begin (fd, ELF_C_RDWR, NULL) local
    [all...]
  /bionic/libc/arch-x86/bionic/
dl_iterate_phdr_static.c 29 #include <linux/elf.h>
  /bionic/libc/bionic/
libc_init_static.c 44 #include <elf.h>
  /build/tools/apriori/
hash.c 7 int hash_lookup(Elf *elf,
apriori.c 9 #include <elf.h>
37 on the target ELF handle with code that extracts the strings directly from
38 the data buffers of that ELF handle. In this case, elf_strptr() does not
72 static void print_shdr_idx(source_t *source, Elf *elf, int idx)
74 print_shdr(source, elf_getscn(elf, idx));
79 INFO("section offset dump for new ELF\n");
80 while ((scn = elf_nextscn (source->elf, scn)) != NULL)
83 INFO("\nsection offset dump for original ELF\n");
89 INFO("section offset dump for new ELF\n")
309 Elf *elf; local
    [all...]
  /build/tools/lsd/
hash.c 7 int hash_lookup(Elf *elf,
main.c 5 3. fix the determination of the host and ELF-file endianness
13 #include <elf.h>
52 FAILIF(1, "You must specify at least one input ELF file!\n");
55 /* Check to see whether the ELF library is current. */
lsd.c 6 #include <elf.h>
38 /* ELF-related information: */
39 Elf *elf; member in struct:source_t
142 source->elf = elf_begin(source->elf_fd, ELF_C_READ, NULL);
143 FAILIF_LIBELF(source->elf == NULL, elf_begin);
145 /* libelf can recognize COFF and A.OUT formats, but we handle only ELF. */
146 if (elf_kind(source->elf) != ELF_K_ELF) {
147 ERROR("Input file %s is not in ELF format!\n", full_path);
155 FAILIF_LIBELF(0 == gelf_getehdr(source->elf, &source->elf_hdr), gelf_getehdr)
    [all...]
  /build/tools/soslim/
common.h 5 #include <elf.h>
12 typedef int (*section_match_fn_t)(Elf *, Elf_Scn *, void *);
13 void map_over_sections(Elf *, section_match_fn_t, void *);
15 typedef int (*segment_match_fn_t)(Elf *, Elf32_Phdr *, void *);
16 void map_over_segments(Elf *, segment_match_fn_t, void *);
  /external/elfutils/libasm/
asm_end.c 70 Elf_Scn *scn = elf_getscn (ctx->out.elf, asmscn->data.main.scnndx);
131 strscn = elf_newscn (ctx->out.elf);
147 symscn = elf_newscn (ctx->out.elf);
156 data->d_size = gelf_fsize (ctx->out.elf, ELF_T_SYM,
211 xndxscn = elf_newscn (ctx->out.elf);
265 shdr->sh_entsize = gelf_fsize (ctx->out.elf, ELF_T_SYM, 1, EV_CURRENT);
266 shdr->sh_addralign = gelf_fsize (ctx->out.elf, ELF_T_ADDR, 1,
275 shstrscn = elf_newscn (ctx->out.elf);
369 Elf_Scn *scn = elf_getscn (ctx->out.elf, symscnndx);
380 scn = elf_getscn (ctx->out.elf, strscnndx)
    [all...]
asm_addint8.c 64 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA]
77 bool is_leb = (elf_getident (asmscn->ctx->out.elf, NULL)[EI_DATA]
  /external/elfutils/libdw/
dwarf_end.c 66 /* Free the ELF descriptor if necessary. */
68 elf_end (dwarf->elf);
  /external/elfutils/libebl/
alpha_symbol.c 19 #include <elf.h>
sh_symbol.c 19 #include <elf.h>
libebl.h 22 #include <elf-knowledge.h>
35 Elf *elf; member in struct:ebl
47 bool (*reloc_valid_use) (Elf *, int);
50 bool (*gotpc_reloc_check) (Elf *, int);
100 /* Destructor for ELF backend handle. */
108 /* Get backend handle for object associated with ELF handle. */
109 extern Ebl *ebl_openbackend (Elf *elf);
110 /* Similar but without underlying ELF file. *
    [all...]
ppc64_symbol.c 20 #include <elf.h>
171 ppc64_reloc_valid_use (Elf *elf, int type)
177 Elf64_Ehdr *ehdr = elf64_getehdr (elf);
  /external/qemu/elff/
dwarf_cu.cc 15 * unit in the .debug_info section of the mapped ELF file.
24 DwarfCU::DwarfCU(ElfFile* elf)
25 : elf_file_(elf),
37 DwarfCU* DwarfCU::create_instance(ElfFile* elf, const void* hdr) {
42 ret = new(elf) DwarfCUImpl<Dwarf64_CUHdr, Dwarf64_Off>
43 (elf, reinterpret_cast<const Dwarf64_CUHdr*>(hdr));
45 ret = new(elf) DwarfCUImpl<Dwarf32_CUHdr, Dwarf32_Off>
46 (elf, reinterpret_cast<const Dwarf32_CUHdr*>(hdr));
297 DwarfCUImpl<Dwarf_CUHdr, Dwarf_Off>::DwarfCUImpl(ElfFile* elf,
299 : DwarfCU(elf),
    [all...]
  /external/openssl/crypto/perlasm/
x86gas.pl 123 push(@out,".size\t$nmdecor$func,.-".&::LABEL($func)."\n") if ($::elf);
130 if (!defined($com_start) or $::elf)
131 { # Regarding $::elf above...
133 push(@out,"\n"); # so we just skip ELF comments...
154 if ($::elf) { push (@out,"$tmp,4\n"); }
183 if ($::pic && ($::elf || $::aout))
209 if ($::elf)
x86_64-xlate.pl 74 my $elf=1; $elf=0 if (!$gas);
86 if ($flavour eq "mingw64") { $gas=1; $elf=0; $win64=1;
90 elsif ($flavour eq "macosx") { $gas=1; $elf=0; $prefix="_"; $decor="L\$"; }
91 elsif ($flavour eq "masm") { $gas=0; $elf=0; $masm=$masmref; $win64=1; $decor="\$L\$"; }
92 elsif ($flavour eq "nasm") { $gas=0; $elf=0; $nasm=$nasmref; $win64=1; $decor="\$L\$"; $PTR=""; }
100 $elf=0;
154 } elsif ($self->{op} eq "call" && !$elf && $current_segment eq ".init") {
404 $self->{value} =~ s/\@PLT// if (!$elf);
487 } elsif (!$elf && $dir =~ /\.type/)
    [all...]
x86asm.pl 170 $elf=$cpp=$coff=$aout=$macosx=$win32=$netware=$mwerks=0;
171 if (($type eq "elf"))
172 { $elf=1; require "x86gas.pl"; }
190 elf - Linux, FreeBSD, Solaris x86, etc.

Completed in 213 milliseconds

1 2 3 4 5 6 78 91011>>