Home
last modified time | relevance | path

Searched refs:elfcopy (Results 1 – 16 of 16) sorted by relevance

/NextBSD/contrib/elftoolchain/elfcopy/
HDelfcopy.h173 struct elfcopy { struct
265 void add_section(struct elfcopy *_ecp, const char *_optarg); argument
266 void add_to_shstrtab(struct elfcopy *_ecp, const char *_name);
267 void add_to_symop_list(struct elfcopy *_ecp, const char *_name,
269 void add_to_symtab(struct elfcopy *_ecp, const char *_name,
272 int add_to_inseg_list(struct elfcopy *_ecp, struct section *_sec);
273 void adjust_addr(struct elfcopy *_ecp);
274 void copy_content(struct elfcopy *_ecp);
276 void copy_phdr(struct elfcopy *_ecp);
277 void copy_shdr(struct elfcopy *_ecp, struct section *_s, const char *_name,
[all …]
HDsections.c39 static void add_gnu_debuglink(struct elfcopy *ecp);
41 static void check_section_rename(struct elfcopy *ecp, struct section *s);
42 static void filter_reloc(struct elfcopy *ecp, struct section *s);
43 static int get_section_flags(struct elfcopy *ecp, const char *name);
44 static void insert_sections(struct elfcopy *ecp);
46 static int is_append_section(struct elfcopy *ecp, const char *name);
47 static int is_compress_section(struct elfcopy *ecp, const char *name);
50 static int is_modify_section(struct elfcopy *ecp, const char *name);
51 static int is_print_section(struct elfcopy *ecp, const char *name);
53 static void modify_section(struct elfcopy *ecp, struct section *s);
[all …]
HDarchive.c51 static void ac_read_objs(struct elfcopy *ecp, int ifd);
52 static void ac_write_cleanup(struct elfcopy *ecp);
54 static void ac_write_objs(struct elfcopy *ecp, int ofd);
56 static void add_to_ar_str_table(struct elfcopy *elfcopy, const char *name);
57 static void add_to_ar_sym_table(struct elfcopy *ecp, const char *name);
58 static void extract_arsym(struct elfcopy *ecp);
59 static void process_ar_obj(struct elfcopy *ecp, struct ar_obj *obj);
60 static void sync_ar(struct elfcopy *ecp);
64 process_ar_obj(struct elfcopy *ecp, struct ar_obj *obj) in process_ar_obj()
115 add_to_ar_str_table(struct elfcopy *ecp, const char *name) in add_to_ar_str_table()
[all …]
HDMakefile5 PROG= elfcopy
18 MAN= elfcopy.1 mcs.1 strip.1
22 LINKS= ${BINDIR}/elfcopy ${BINDIR}/strip \
23 ${BINDIR}/elfcopy ${BINDIR}/mcs
HDmain.c219 static void create_file(struct elfcopy *ecp, const char *src,
221 static void elfcopy_main(struct elfcopy *ecp, int argc, char **argv);
223 static void mcs_main(struct elfcopy *ecp, int argc, char **argv);
225 static void parse_sec_address_op(struct elfcopy *ecp, int optnum,
228 static void parse_symlist_file(struct elfcopy *ecp, const char *fn,
231 static void set_input_target(struct elfcopy *ecp, const char *target_name);
232 static void set_osabi(struct elfcopy *ecp, const char *abi);
233 static void set_output_target(struct elfcopy *ecp, const char *target_name);
234 static void strip_main(struct elfcopy *ecp, int argc, char **argv);
279 create_elf(struct elfcopy *ecp) in create_elf()
[all …]
HDsymbols.c73 static int is_needed_symbol(struct elfcopy *ecp, int i, GElf_Sym *s);
74 static int is_remove_symbol(struct elfcopy *ecp, size_t sc, int i,
79 static int generate_symbols(struct elfcopy *ecp);
80 static void mark_reloc_symbols(struct elfcopy *ecp, size_t sc);
81 static void mark_section_group_symbols(struct elfcopy *ecp, size_t sc);
157 is_needed_symbol(struct elfcopy *ecp, int i, GElf_Sym *s) in is_needed_symbol()
181 is_remove_symbol(struct elfcopy *ecp, size_t sc, int i, GElf_Sym *s, in is_remove_symbol()
244 mark_reloc_symbols(struct elfcopy *ecp, size_t sc) in mark_reloc_symbols()
323 mark_section_group_symbols(struct elfcopy *ecp, size_t sc) in mark_section_group_symbols()
366 generate_symbols(struct elfcopy *ecp) in generate_symbols()
[all …]
HDsegments.c54 add_to_inseg_list(struct elfcopy *ecp, struct section *s) in add_to_inseg_list()
96 adjust_addr(struct elfcopy *ecp) in adjust_addr()
380 setup_phdr(struct elfcopy *ecp) in setup_phdr()
417 copy_phdr(struct elfcopy *ecp) in copy_phdr()
HDascii.c54 static struct section *new_data_section(struct elfcopy *ecp, int sec_index,
78 create_srec(struct elfcopy *ecp, int ifd, int ofd, const char *ofn) in create_srec()
198 create_elf_from_srec(struct elfcopy *ecp, int ifd) in create_elf_from_srec()
471 create_elf_from_ihex(struct elfcopy *ecp, int ifd) in create_elf_from_ihex()
642 new_data_section(struct elfcopy *ecp, int sec_index, uint64_t off, in new_data_section()
HDbinary.c134 create_elf_from_binary(struct elfcopy *ecp, int ifd, const char *ifn) in create_elf_from_binary()
/NextBSD/usr.bin/elfcopy/
HDMakefile6 ELFCOPYDIR= ${ELFTCDIR}/elfcopy
12 objcopy.1: elfcopy.1
17 PROG= elfcopy
/NextBSD/targets/pseudo/toolchain/
HDMakefile.depend15 usr.bin/elfcopy \
/NextBSD/share/mk/
HDlocal.gendirdeps.mk29 Nusr.bin/elfcopy.host \
/NextBSD/usr.bin/
HDMakefile278 SUBDIR.${MK_TOOLCHAIN}+= elfcopy
/NextBSD/
HDMakefile.inc11638 usr.bin/elfcopy \
1650 usr.bin/elfcopy
HDUPDATING376 ELF tools addr2line, elfcopy (strip), nm, size, and strings are now
/NextBSD/tools/build/mk/
HDOptionalObsoleteFiles.inc7951 OLD_FILES+=usr/bin/elfcopy
7952 OLD_FILES+=usr/share/man/man1/elfcopy.1.gz