| /netbsd-src/external/gpl3/binutils/dist/gas/ |
| H A D | configure.tgt | 129 aarch64*-*-elf*) fmt=elf;; 130 aarch64*-*-fuchsia*) fmt=elf;; 131 aarch64*-*-haiku*) fmt=elf em=haiku ;; 132 aarch64*-*-genode*) fmt=elf;; 133 aarch64*-*-linux*) fmt=elf em=linux 137 aarch64*-*-gnu*) fmt=elf em=gnu ;; 138 aarch64*-*-netbsd*) fmt=elf em=nbsd;; 139 aarch64*-*-nto*) fmt=elf;; 140 aarch64*-*-openbsd*) fmt=elf;; 145 alpha-*-linux-*) fmt=elf em=linux ;; [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/gas/ |
| H A D | configure.tgt | 128 aarch64*-*-elf*) fmt=elf;; 129 aarch64*-*-fuchsia*) fmt=elf;; 130 aarch64*-*-haiku*) fmt=elf em=haiku ;; 131 aarch64*-*-genode*) fmt=elf;; 132 aarch64*-*-linux*) fmt=elf em=linux 136 aarch64*-*-netbsd*) fmt=elf em=nbsd;; 141 alpha-*-linux-*) fmt=elf em=linux ;; 142 alpha-*-netbsd* | alpha-*-openbsd*) fmt=elf em=nbsd ;; 144 arc-*-elf*) fmt=elf ;; 145 arc*-*-linux*) fmt=elf bfd_gas=yes ;; [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/contrib/ |
| H A D | config-list.mk | 33 LIST = aarch64-elf aarch64-linux-gnu aarch64-rtems \ 41 arm-symbianelf avr-elf \ 42 bfin-elf bfin-uclinux bfin-linux-uclibc bfin-rtems bfin-openbsd \ 44 c6x-elf c6x-uclinux cr16-elf cris-elf cris-linux crisv32-elf crisv32-linux \ 45 csky-elf csky-linux-gnu \ 46 epiphany-elf epiphany-elfOPT-with-stack-offset=16 fido-elf \ 47 fr30-elf frv-elf frv-linux ft32-elf h8300-elf hppa-linux-gnu \ 54 i686-openbsd i686-elf i686-kopensolaris-gnu i686-symbolics-gnu \ 58 i686-cygwinOPT-enable-threads=yes i686-mingw32crt ia64-elf \ 59 ia64-freebsd6 ia64-linux ia64-hpux ia64-hp-vms iq2000-elf lm32-elf \ [all …]
|
| /netbsd-src/external/gpl3/gcc/dist/contrib/ |
| H A D | config-list.mk | 32 LIST = aarch64-elf aarch64-linux-gnu aarch64-rtems \ 40 arm-symbianelf avr-elf \ 41 bfin-elf bfin-uclinux bfin-linux-uclibc bfin-rtems bfin-openbsd \ 43 c6x-elf c6x-uclinux cr16-elfOPT-enable-obsolete cris-elf \ 44 csky-elf csky-linux-gnu \ 45 epiphany-elf epiphany-elfOPT-with-stack-offset=16 fido-elf \ 46 fr30-elf frv-elf frv-linux ft32-elf h8300-elf hppa-linux-gnu \ 54 i686-openbsd i686-elf i686-kopensolaris-gnu i686-symbolics-gnu \ 58 i686-cygwinOPT-enable-threads=yes i686-mingw32crt ia64-elf \ 59 ia64-freebsd6 ia64-linux ia64-hpux ia64-hp-vms iq2000-elf lm32-elf \ [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/bfd/ |
| H A D | configure.ac | 390 elf="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo 391 elf-sframe.lo dwarf1.lo dwarf2.lo" 397 elfxx_x86="elfxx-x86.lo elf-ifunc.lo elf-vxworks.lo" 405 …aarch64_elf32_be_vec) tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; targ… 406 …aarch64_elf32_le_vec) tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; targ… 407 …aarch64_elf64_be_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; ta… 408 …f64_be_cloudabi_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target… 409 …aarch64_elf64_le_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; ta… 410 …f64_le_cloudabi_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target… 415 alpha_elf64_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;; [all …]
|
| H A D | elf32-s390.c | 655 struct elf_link_hash_entry elf; member 739 struct elf_link_hash_table elf; member 806 if (!_bfd_elf_link_hash_table_init (&ret->elf, abfd, link_hash_newfunc, in elf_s390_link_hash_table_create() 814 return &ret->elf.root; in elf_s390_link_hash_table_create() 931 isym = bfd_sym_from_r_symndx (&htab->elf.sym_cache, in elf_s390_check_relocs() 940 if (htab->elf.dynobj == NULL) in elf_s390_check_relocs() 941 htab->elf.dynobj = abfd; in elf_s390_check_relocs() 943 if (!s390_elf_create_ifunc_sections (htab->elf.dynobj, info)) in elf_s390_check_relocs() 1001 if (htab->elf.sgot == NULL) in elf_s390_check_relocs() 1003 if (htab->elf.dynobj == NULL) in elf_s390_check_relocs() [all …]
|
| H A D | elf64-s390.c | 572 struct elf_link_hash_entry elf; member 656 struct elf_link_hash_table elf; member 725 if (!_bfd_elf_link_hash_table_init (&ret->elf, abfd, link_hash_newfunc, in elf_s390_link_hash_table_create() 733 return &ret->elf.root; in elf_s390_link_hash_table_create() 853 isym = bfd_sym_from_r_symndx (&htab->elf.sym_cache, in elf_s390_check_relocs() 862 if (htab->elf.dynobj == NULL) in elf_s390_check_relocs() 863 htab->elf.dynobj = abfd; in elf_s390_check_relocs() 865 if (!s390_elf_create_ifunc_sections (htab->elf.dynobj, info)) in elf_s390_check_relocs() 927 if (htab->elf.sgot == NULL) in elf_s390_check_relocs() 929 if (htab->elf.dynobj == NULL) in elf_s390_check_relocs() [all …]
|
| H A D | elfxx-x86.c | 64 base->u.def.value = htab->elf.tls_size; in _bfd_x86_elf_set_tls_module_base() 160 else if (htab->elf.dynamic_sections_created in elf_x86_allocate_dynrelocs() 180 asection *s = htab->elf.splt; in elf_x86_allocate_dynrelocs() 251 htab->elf.sgotplt->size += htab->got_entry_size; in elf_x86_allocate_dynrelocs() 259 htab->elf.srelplt->size += htab->sizeof_reloc; in elf_x86_allocate_dynrelocs() 260 htab->elf.srelplt->reloc_count++; in elf_x86_allocate_dynrelocs() 264 if (htab->elf.target_os == is_vxworks && !bfd_link_pic (info)) in elf_x86_allocate_dynrelocs() 327 s = htab->elf.sgot; in elf_x86_allocate_dynrelocs() 330 eh->tlsdesc_got = htab->elf.sgotplt->size in elf_x86_allocate_dynrelocs() 332 htab->elf.sgotplt->size += 2 * htab->got_entry_size; in elf_x86_allocate_dynrelocs() [all …]
|
| H A D | elf32-i386.c | 1175 isym = bfd_sym_from_r_symndx (&htab->elf.sym_cache, in elf_i386_tls_transition() 1274 isym = bfd_sym_from_r_symndx (&htab->elf.sym_cache, abfd, in elf_i386_convert_load_reloc() 1403 if (h == htab->elf.hdynamic) in elf_i386_convert_load_reloc() 1549 isym = bfd_sym_from_r_symndx (&htab->elf.sym_cache, in elf_i386_scan_relocs() 1613 if (h == htab->elf.hgot) in elf_i386_scan_relocs() 1841 if (htab->elf.target_os != is_solaris in elf_i386_scan_relocs() 1885 isym = bfd_sym_from_r_symndx (&htab->elf.sym_cache, in elf_i386_scan_relocs() 1902 p = (struct elf_dyn_relocs *) bfd_alloc (htab->elf.dynobj, in elf_i386_scan_relocs() 2080 is_vxworks_tls = (htab->elf.target_os == is_vxworks in elf_i386_relocate_section() 2285 if (htab->elf.splt != NULL) in elf_i386_relocate_section() [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
| H A D | configure.ac | 396 elf="elf.lo elflink.lo elf-attrs.lo elf-strtab.lo elf-eh-frame.lo 403 elfxx_x86="elfxx-x86.lo elf-ifunc.lo elf-vxworks.lo" 411 …aarch64_elf32_be_vec) tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; targ… 412 …aarch64_elf32_le_vec) tb="$tb elf32-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf32.lo $elf"; targ… 413 …aarch64_elf64_be_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; ta… 414 …f64_be_cloudabi_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target… 415 …aarch64_elf64_le_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; ta… 416 …f64_le_cloudabi_vec) tb="$tb elf64-aarch64.lo elfxx-aarch64.lo elf-ifunc.lo elf64.lo $elf"; target… 420 alpha_elf64_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;; 421 alpha_elf64_fbsd_vec) tb="$tb elf64-alpha.lo elf64.lo $elf"; target_size=64 ;; [all …]
|
| H A D | elf32-s390.c | 655 struct elf_link_hash_entry elf; member 739 struct elf_link_hash_table elf; member 806 if (!_bfd_elf_link_hash_table_init (&ret->elf, abfd, link_hash_newfunc, in elf_s390_link_hash_table_create() 814 return &ret->elf.root; in elf_s390_link_hash_table_create() 931 isym = bfd_sym_from_r_symndx (&htab->elf.sym_cache, in elf_s390_check_relocs() 940 if (htab->elf.dynobj == NULL) in elf_s390_check_relocs() 941 htab->elf.dynobj = abfd; in elf_s390_check_relocs() 943 if (!s390_elf_create_ifunc_sections (htab->elf.dynobj, info)) in elf_s390_check_relocs() 1001 if (htab->elf.sgot == NULL) in elf_s390_check_relocs() 1003 if (htab->elf.dynobj == NULL) in elf_s390_check_relocs() [all …]
|
| H A D | elf64-s390.c | 572 struct elf_link_hash_entry elf; member 656 struct elf_link_hash_table elf; member 725 if (!_bfd_elf_link_hash_table_init (&ret->elf, abfd, link_hash_newfunc, in elf_s390_link_hash_table_create() 733 return &ret->elf.root; in elf_s390_link_hash_table_create() 853 isym = bfd_sym_from_r_symndx (&htab->elf.sym_cache, in elf_s390_check_relocs() 862 if (htab->elf.dynobj == NULL) in elf_s390_check_relocs() 863 htab->elf.dynobj = abfd; in elf_s390_check_relocs() 865 if (!s390_elf_create_ifunc_sections (htab->elf.dynobj, info)) in elf_s390_check_relocs() 927 if (htab->elf.sgot == NULL) in elf_s390_check_relocs() 929 if (htab->elf.dynobj == NULL) in elf_s390_check_relocs() [all …]
|
| H A D | elfnn-loongarch.c | 43 struct elf_link_hash_entry elf; member 82 struct elf_link_hash_table elf; member 275 e.elf.indx = sec->id; in elfNN_loongarch_get_local_sym_hash() 276 e.elf.dynstr_index = ELFNN_R_SYM (rel->r_info); in elfNN_loongarch_get_local_sym_hash() 286 return &ret->elf; in elfNN_loongarch_get_local_sym_hash() 295 ret->elf.indx = sec->id; in elfNN_loongarch_get_local_sym_hash() 296 ret->elf.pointer_equality_needed = 0; in elfNN_loongarch_get_local_sym_hash() 297 ret->elf.dynstr_index = ELFNN_R_SYM (rel->r_info); in elfNN_loongarch_get_local_sym_hash() 298 ret->elf.dynindx = -1; in elfNN_loongarch_get_local_sym_hash() 299 ret->elf.needs_plt = 0; in elfNN_loongarch_get_local_sym_hash() [all …]
|
| H A D | elfxx-x86.c | 64 base->u.def.value = htab->elf.tls_size; in _bfd_x86_elf_set_tls_module_base() 160 else if (htab->elf.dynamic_sections_created in elf_x86_allocate_dynrelocs() 180 asection *s = htab->elf.splt; in elf_x86_allocate_dynrelocs() 251 htab->elf.sgotplt->size += htab->got_entry_size; in elf_x86_allocate_dynrelocs() 259 htab->elf.srelplt->size += htab->sizeof_reloc; in elf_x86_allocate_dynrelocs() 260 htab->elf.srelplt->reloc_count++; in elf_x86_allocate_dynrelocs() 264 if (htab->elf.target_os == is_vxworks && !bfd_link_pic (info)) in elf_x86_allocate_dynrelocs() 327 s = htab->elf.sgot; in elf_x86_allocate_dynrelocs() 330 eh->tlsdesc_got = htab->elf.sgotplt->size in elf_x86_allocate_dynrelocs() 332 htab->elf.sgotplt->size += 2 * htab->got_entry_size; in elf_x86_allocate_dynrelocs() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/ld/ |
| H A D | ChangeLog-2018 | 26 * testsuite/ld-elf/elf.exp: Run PR ld/23900 test. 27 * testsuite/ld-elf/pr23900-1-32.rd: New file. 28 * testsuite/ld-elf/pr23900-1-64.rd: Likewise. 29 * testsuite/ld-elf/pr23900-1.d: Likewise. 30 * testsuite/ld-elf/pr23900-1.s: Likewise. 31 * testsuite/ld-elf/pr23900-2.s: Likewise. 32 * testsuite/ld-elf/pr23900-2a.d: Likewise. 33 * testsuite/ld-elf/pr23900-2b.d: Likewise. 130 * testsuite/ld-mips-elf/pic-reloc-0.d: New test. 131 * testsuite/ld-mips-elf/pic-reloc-1.d: New test. [all …]
|
| H A D | ChangeLog-2017 | 8 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test cases. 19 * testsuite/ld-elf/interleave.s: Use .data sections and provide 21 * testsuite/ld-elf/interleave.ld: Discard other sections. Adjust 35 * testsuite/ld-elf/interleave-0.d, testsuite/ld-elf/interleave-4.d, 36 * testsuite/ld-elf/interleave.ld, testsuite/ld-elf/interleave.s: New. 53 * testsuite/ld-riscv-elf/gp-hidden-64.rd, 54 * testsuite/ld-riscv-elf/gp-hidden-lib.rd, 55 * testsuite/ld-riscv-elf/gp-hidden-lib.s, 56 * testsuite/ld-riscv-elf/gp-hidden-ver-64.rd, 57 * testsuite/ld-riscv-elf/gp-hidden-ver.rd, [all …]
|
| H A D | ChangeLog-2020 | 5 * testsuite/ld-elf/pr27128.s: New file. 6 * testsuite/ld-elf/pr27128.t: Likewise. 7 * testsuite/ld-elf/pr27128a.d: Likewise. 8 * testsuite/ld-elf/pr27128b.d: Likewise. 9 * testsuite/ld-elf/pr27128c.d: Likewise. 10 * testsuite/ld-elf/pr27128d.d: Likewise. 11 * testsuite/ld-elf/pr27128e.d: Likewise. 15 * testsuite/ld-elf/retain7a.d: Don't run on hppa-linux. 16 * testsuite/ld-elf/retain7b.d: Correct name. Don't run on tic6x. 70 * testsuite/ld-elf/retain7.s: New file. [all …]
|
| H A D | ChangeLog-2016 | 48 * testsuite/ld-elf/eh-frame-hdr.d: Disable for PRU. 49 * testsuite/ld-elf/endsym.d: Likewise. 50 * testsuite/ld-elf/group8a.d: Likewise. 51 * testsuite/ld-elf/group8b.d: Likewise. 52 * testsuite/ld-elf/group9a.d: Likewise. 53 * testsuite/ld-elf/group9b.d: Likewise. 54 * testsuite/ld-elf/merge.d: Likewise. 55 * testsuite/ld-elf/pr12851.d: Likewise. 56 * testsuite/ld-elf/pr14926.d: Likewise. 57 * testsuite/ld-elf/sec-to-seg.exp: Likewise. [all …]
|
| /netbsd-src/external/gpl3/binutils.old/dist/ld/ |
| H A D | ChangeLog-2018 | 26 * testsuite/ld-elf/elf.exp: Run PR ld/23900 test. 27 * testsuite/ld-elf/pr23900-1-32.rd: New file. 28 * testsuite/ld-elf/pr23900-1-64.rd: Likewise. 29 * testsuite/ld-elf/pr23900-1.d: Likewise. 30 * testsuite/ld-elf/pr23900-1.s: Likewise. 31 * testsuite/ld-elf/pr23900-2.s: Likewise. 32 * testsuite/ld-elf/pr23900-2a.d: Likewise. 33 * testsuite/ld-elf/pr23900-2b.d: Likewise. 130 * testsuite/ld-mips-elf/pic-reloc-0.d: New test. 131 * testsuite/ld-mips-elf/pic-reloc-1.d: New test. [all …]
|
| H A D | ChangeLog-2017 | 8 * testsuite/ld-aarch64/aarch64-elf.exp: Run new test cases. 19 * testsuite/ld-elf/interleave.s: Use .data sections and provide 21 * testsuite/ld-elf/interleave.ld: Discard other sections. Adjust 35 * testsuite/ld-elf/interleave-0.d, testsuite/ld-elf/interleave-4.d, 36 * testsuite/ld-elf/interleave.ld, testsuite/ld-elf/interleave.s: New. 53 * testsuite/ld-riscv-elf/gp-hidden-64.rd, 54 * testsuite/ld-riscv-elf/gp-hidden-lib.rd, 55 * testsuite/ld-riscv-elf/gp-hidden-lib.s, 56 * testsuite/ld-riscv-elf/gp-hidden-ver-64.rd, 57 * testsuite/ld-riscv-elf/gp-hidden-ver.rd, [all …]
|
| H A D | ChangeLog-2020 | 5 * testsuite/ld-elf/pr27128.s: New file. 6 * testsuite/ld-elf/pr27128.t: Likewise. 7 * testsuite/ld-elf/pr27128a.d: Likewise. 8 * testsuite/ld-elf/pr27128b.d: Likewise. 9 * testsuite/ld-elf/pr27128c.d: Likewise. 10 * testsuite/ld-elf/pr27128d.d: Likewise. 11 * testsuite/ld-elf/pr27128e.d: Likewise. 15 * testsuite/ld-elf/retain7a.d: Don't run on hppa-linux. 16 * testsuite/ld-elf/retain7b.d: Correct name. Don't run on tic6x. 70 * testsuite/ld-elf/retain7.s: New file. [all …]
|
| H A D | ChangeLog-2016 | 48 * testsuite/ld-elf/eh-frame-hdr.d: Disable for PRU. 49 * testsuite/ld-elf/endsym.d: Likewise. 50 * testsuite/ld-elf/group8a.d: Likewise. 51 * testsuite/ld-elf/group8b.d: Likewise. 52 * testsuite/ld-elf/group9a.d: Likewise. 53 * testsuite/ld-elf/group9b.d: Likewise. 54 * testsuite/ld-elf/merge.d: Likewise. 55 * testsuite/ld-elf/pr12851.d: Likewise. 56 * testsuite/ld-elf/pr14926.d: Likewise. 57 * testsuite/ld-elf/sec-to-seg.exp: Likewise. [all …]
|
| /netbsd-src/sys/lib/libsa/ |
| H A D | loadfile_elf32.c | 347 ELFNAMEEND(loadfile_dynamic)(int fd, Elf_Ehdr *elf, u_long *marks, int flags) in ELFNAMEEND() 359 internalize_ehdr(elf->e_ident[EI_DATA], elf); in ELFNAMEEND() 361 if (elf->e_type != ET_REL) { in ELFNAMEEND() 367 shdrsz = elf->e_shnum * sizeof(Elf_Shdr); in ELFNAMEEND() 369 ret = ELFNAMEEND(readfile_local)(fd, elf->e_shoff, shdr, shdrsz); in ELFNAMEEND() 378 elf->e_phoff = 0; in ELFNAMEEND() 379 elf->e_shoff = sizeof(Elf_Ehdr); in ELFNAMEEND() 380 elf->e_phentsize = 0; in ELFNAMEEND() 381 elf->e_phnum = 0; in ELFNAMEEND() 383 externalize_ehdr(elf->e_ident[EI_DATA], elf); in ELFNAMEEND() [all …]
|
| /netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/ |
| H A D | input.c | 54 built_source_types(Elf *elf, char const *file) in built_source_types() argument 59 if ((si = symit_new(elf, file)) == NULL) in built_source_types() 91 read_file(Elf *elf, char *file, char *label, read_cb_f *func, void *arg, in read_file() argument 100 if ((ctfscnidx = findelfsecidx(elf, file, ".SUNW_ctf")) < 0) { in read_file() 102 (built_source_types(elf, file) & SOURCE_C)) { in read_file() 109 if ((ctfscn = elf_getscn(elf, ctfscnidx)) == NULL || in read_file() 114 if ((si = symit_new(elf, file)) == NULL) { in read_file() 134 read_archive(int fd, Elf *elf, char *file, char *label, read_cb_f *func, in read_archive() argument 142 while ((melf = elf_begin(fd, cmd, elf)) != NULL) { in read_archive() 192 Elf *elf; in read_ctf_common() local [all …]
|
| /netbsd-src/sys/arch/hpcmips/stand/pbsdboot/ |
| H A D | elf.c | 131 Elf_Ehdr elfx, *elf = &elfx; in scanfile() local 146 if (read(fd, (void*)elf, sizeof(Elf_Ehdr)) != sizeof(Elf_Ehdr)) { in scanfile() 152 if ((phtbl = (Elf_Phdr *)alloc(sizeof(*phtbl) * elf->e_phnum)) == NULL || in scanfile() 153 (shtbl = (Elf_Shdr *)alloc(sizeof(*shtbl) * elf->e_shnum)) == NULL) { in scanfile() 159 if (lseek(fd, elf->e_phoff, SEEK_SET) == -1) { in scanfile() 164 if (read(fd, (void *)phtbl, sizeof(Elf_Phdr) * elf->e_phnum) in scanfile() 165 != (int)(sizeof(Elf_Phdr) * elf->e_phnum)) { in scanfile() 171 if (lseek(fd, elf->e_shoff, SEEK_SET) == -1) { in scanfile() 176 if (read(fd, (void *)shtbl, sizeof(Elf_Shdr) * elf->e_shnum) in scanfile() 177 != (int)(sizeof(Elf_Shdr) * elf->e_shnum)) { in scanfile() [all …]
|