Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/elftoolchain/elfcopy/
H A Delfcopy.h179 struct elfcopy { struct
279 void adjust_addr(struct elfcopy *_ecp);
281 void copy_content(struct elfcopy *_ecp);
283 void copy_phdr(struct elfcopy *_ecp);
287 void create_elf(struct elfcopy *_ecp);
298 void create_scn(struct elfcopy *_ecp);
304 void free_elf(struct elfcopy *_ecp);
305 void free_sec_act(struct elfcopy *_ecp);
306 void free_sec_add(struct elfcopy *_ecp);
307 void free_symtab(struct elfcopy *_ecp);
[all …]
H A DMakefile7 PROG= elfcopy
29 MAN= elfcopy.1 mcs.1 strip.1
30 MLINKS= elfcopy.1 objcopy.1
34 LINKS= ${BINDIR}/elfcopy ${BINDIR}/mcs \
35 ${BINDIR}/elfcopy ${BINDIR}/objcopy \
36 ${BINDIR}/elfcopy ${BINDIR}/strip
H A Darchive.c51 static void ac_read_objs(struct elfcopy *ecp, int ifd);
52 static void ac_write_cleanup(struct elfcopy *ecp);
56 static void add_to_ar_str_table(struct elfcopy *elfcopy, const char *name);
58 static void extract_arsym(struct elfcopy *ecp);
60 static void sync_ar(struct elfcopy *ecp);
202 sync_ar(struct elfcopy *ecp) in sync_ar()
247 extract_arsym(struct elfcopy *ecp) in extract_arsym()
376 ac_create_ar(struct elfcopy *ecp, int ifd, int ofd) in ac_create_ar()
386 ac_read_objs(struct elfcopy *ecp, int ifd) in ac_read_objs()
453 ac_write_objs(struct elfcopy *ecp, int ofd) in ac_write_objs()
[all …]
H A Dsections.c57 static void set_shstrtab(struct elfcopy *ecp);
300 free_sec_act(struct elfcopy *ecp) in free_sec_act()
336 create_scn(struct elfcopy *ecp) in create_scn()
526 insert_shtab(struct elfcopy *ecp, int tail) in insert_shtab()
569 copy_content(struct elfcopy *ecp) in copy_content()
931 resync_sections(struct elfcopy *ecp) in resync_sections()
1354 insert_sections(struct elfcopy *ecp) in insert_sections()
1455 init_shstrtab(struct elfcopy *ecp) in init_shstrtab()
1496 set_shstrtab(struct elfcopy *ecp) in set_shstrtab()
1601 free_sec_add(struct elfcopy *ecp) in free_sec_add()
[all …]
H A Dmain.c220 static void create_file(struct elfcopy *ecp, const char *src,
224 static void mcs_main(struct elfcopy *ecp, int argc, char **argv);
233 static void set_osabi(struct elfcopy *ecp, const char *abi);
280 create_elf(struct elfcopy *ecp) in create_elf()
470 free_elf(struct elfcopy *ecp) in free_elf()
875 elfcopy_main(struct elfcopy *ecp, int argc, char **argv) in elfcopy_main()
1101 mcs_main(struct elfcopy *ecp, int argc, char **argv) in mcs_main()
1189 strip_main(struct elfcopy *ecp, int argc, char **argv) in strip_main()
1438 set_input_target(struct elfcopy *ecp, const char *target_name) in set_input_target()
1468 set_osabi(struct elfcopy *ecp, const char *abi) in set_osabi()
[all …]
H A Dsymbols.c86 static int generate_symbols(struct elfcopy *ecp);
87 static void mark_reloc_symbols(struct elfcopy *ecp, size_t sc);
164 is_needed_symbol(struct elfcopy *ecp, int i, GElf_Sym *s) in is_needed_symbol()
264 mark_reloc_symbols(struct elfcopy *ecp, size_t sc) in mark_reloc_symbols()
343 mark_section_group_symbols(struct elfcopy *ecp, size_t sc) in mark_section_group_symbols()
386 generate_symbols(struct elfcopy *ecp) in generate_symbols()
671 create_symtab(struct elfcopy *ecp) in create_symtab()
748 free_symtab(struct elfcopy *ecp) in free_symtab()
806 create_external_symtab(struct elfcopy *ecp) in create_external_symtab()
981 finalize_external_symtab(struct elfcopy *ecp) in finalize_external_symtab()
[all …]
H A Dsegments.c54 add_to_inseg_list(struct elfcopy *ecp, struct section *s) in add_to_inseg_list()
103 adjust_addr(struct elfcopy *ecp) in adjust_addr()
469 setup_phdr(struct elfcopy *ecp) in setup_phdr()
506 copy_phdr(struct elfcopy *ecp) in copy_phdr()
H A Dascii.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()
469 create_elf_from_ihex(struct elfcopy *ecp, int ifd) in create_elf_from_ihex()
637 new_data_section(struct elfcopy *ecp, int sec_index, uint64_t off, in new_data_section()
H A Dpe.c41 create_pe(struct elfcopy *ecp, int ifd, int ofd) in create_pe()
H A Dbinary.c139 create_elf_from_binary(struct elfcopy *ecp, int ifd, const char *ifn) in create_elf_from_binary()
/freebsd-14.2/usr.bin/objcopy/
H A DMakefile7 ELFCOPYDIR= ${ELFTCDIR}/elfcopy
12 objcopy.1: elfcopy.1
/freebsd-14.2/targets/pseudo/toolchain/
H A DMakefile.depend14 usr.bin/elfcopy \
/freebsd-14.2/share/mk/
H A Dlocal.gendirdeps.mk35 Nusr.bin/elfcopy \
/freebsd-14.2/contrib/elftoolchain/
H A DREADME.rst24 elfcopy Copy and translate between object formats.
/freebsd-14.2/
H A DUPDATING1833 ELF Tool Chain's elfcopy is always installed as /usr/bin/objcopy.
H A DObsoleteFiles.inc12780 OLD_FILES+=usr/bin/elfcopy
12781 OLD_FILES+=usr/share/man/man1/elfcopy.1.gz