binutils-gdb/ld/emultempl
Alan Modra 00f93c4492 bfd macro conversion to inline functions
This converts some of the macros that access struct bfd fields to
inline functions.

bfd/
	* archive.c (bfd_generic_archive_p): Use bfd_set_thin_archive.
	* bfd-in.h (bfd_get_filename, bfd_get_cacheable, bfd_get_format),
	(bfd_get_target, bfd_get_flavour, bfd_family_coff, bfd_big_endian),
	(bfd_little_endian, bfd_header_big_endian, bfd_header_little_endian),
	(bfd_get_file_flags, bfd_applicable_file_flags),
	(bfd_applicable_section_flags, bfd_has_map, bfd_is_thin_archive),
	(bfd_valid_reloc_types, bfd_usrdata, bfd_get_start_address),
	(bfd_get_symcount, bfd_get_outsymbols, bfd_count_sections),
	(bfd_get_dynamic_symcount, bfd_get_symbol_leading_char): Delete.
	* bfd/bfd.c (bfd_get_filename, bfd_get_cacheable, bfd_get_format),
	(bfd_get_file_flags, bfd_get_start_address, bfd_get_symcount),
	(bfd_get_dynamic_symcount, bfd_get_outsymbols, bfd_count_sections),
	(bfd_has_map, bfd_is_thin_archive, bfd_set_thin_archive),
	(bfd_usrdata, bfd_set_usrdata): New inline functions.
	* targets.c (bfd_get_target, bfd_get_flavour),
	(bfd_applicable_file_flags, bfd_family_coff, bfd_big_endian),
	(bfd_little_endian, bfd_header_big_endian),
	(bfd_header_little_endian, bfd_applicable_section_flags),
	(bfd_get_symbol_leading_char): New inline functions.
	* bfd-in2.h: Regenerate.
binutils/
	* ar.c (write_archive): Use bfd_set_thin_archive.
gdb/
	* gdb_bfd.c (gdb_bfd_ref, gdb_bfd_unref): Use bfd_set_usrdata.
	* dwarf2read.c (dwarf2_read_gdb_index, dwarf2_read_debug_names),
	(read_indirect_string_from_dwz): Use bfd accessor.
	* dwarf2read.h (struct dwz_file <filename>): Likewise.
	* machoread.c (macho_symfile_read_all_oso): Likewise.
	* solib.c (solib_bfd_open): Likewise.
ld/
	* ldelf.c (ldelf_after_open, ldelf_place_orphan
	* ldlang.c (walk_wild_file, lang_process): Use bfd_usrdata.
	(load_symbols, ldlang_add_file): Use bfd_set_usrdata.
	* ldmain.c (add_archive_element): Use bfd_usrdata.
	* ldlang.h (bfd_input_just_syms): New inline function.
	* emultempl/aarch64elf.em (build_section_lists): Use it.
	* emultempl/mmo.em (mmo_place_orphan): Likewise.
	* emultempl/pe.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
	* emultempl/pep.em (gld_${EMULATION_NAME}_place_orphan): Likewise.
	* emultempl/ppc64elf.em (build_section_lists): Likewise.
sim/
	* ppc/emul_generic.c (emul_add_tree_options): Delete old bfd code.
2019-09-20 18:04:02 +09:30
..
aarch64elf.em bfd macro conversion to inline functions 2019-09-20 18:04:02 +09:30
aix.em bfd_section_* macros 2019-09-19 09:40:13 +09:30
alphaelf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
arclinux.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
armcoff.em bfd_section_* macros 2019-09-19 09:40:13 +09:30
armelf.em bfd_section_* macros 2019-09-19 09:40:13 +09:30
astring.sed
avrelf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
beos.em beos.em qsort predicate tidy 2019-09-06 12:55:37 +09:30
bfin.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
cr16elf.em bfd_section_* macros 2019-09-19 09:40:13 +09:30
crxelf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
cskyelf.em bfd_section_* macros 2019-09-19 09:40:13 +09:30
elf-generic.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
elf-x86.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
elf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
epiphanyelf_4x4.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
genelf.em Move elf32.em and elf-generic.em functions 2019-09-11 13:44:22 +09:30
generic.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
hppaelf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
ia64elf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
irix.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
linux.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
m68hc1xelf.em bfd_section_* macros 2019-09-19 09:40:13 +09:30
m68kelf.em bfd_section_* macros 2019-09-19 09:40:13 +09:30
metagelf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
mipself.em bfd_section_* macros 2019-09-19 09:40:13 +09:30
mmix-elfnmmo.em bfd_section_* macros 2019-09-19 09:40:13 +09:30
mmixelf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
mmo.em bfd macro conversion to inline functions 2019-09-20 18:04:02 +09:30
msp430.em bfd_section_* macros 2019-09-19 09:40:13 +09:30
nds32elf.em Move elf32.em and elf-generic.em functions 2019-09-11 13:44:22 +09:30
needrelax.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
netbsd.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
nios2elf.em bfd_section_* macros 2019-09-19 09:40:13 +09:30
ostring.sed
pe.em bfd macro conversion to inline functions 2019-09-20 18:04:02 +09:30
pep.em bfd macro conversion to inline functions 2019-09-20 18:04:02 +09:30
ppc32elf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
ppc64elf.em bfd macro conversion to inline functions 2019-09-20 18:04:02 +09:30
pruelf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
README Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
riscvelf.em Move elf32.em and elf-generic.em functions 2019-09-11 13:44:22 +09:30
rxelf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
s390.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
scoreelf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
solaris2-x86.em x86: Move x86-specific linker options to elf_linker_x86_params 2019-04-06 07:25:31 -07:00
solaris2.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
spu_icache.o_c Regenerate spu overlay and icache manager files 2014-11-04 22:36:13 +10:30
spu_icache.S bfd/ 2009-03-17 12:46:19 +00:00
spu_ovl.o_c Regenerate spu_ovl.o_c 2016-10-15 12:53:57 +10:30
spu_ovl.S Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
spuelf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
tic6xdsbt.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
ticoff.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
v850elf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
vanilla.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30
vms.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
vxworks.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
xtensaelf.em bfd_section_* macros 2019-09-19 09:40:13 +09:30
z80.em Update year range in copyright notice of binutils files 2019-01-01 22:06:53 +10:30

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

The files in this directory are sourced by genscripts.sh, after
setting some variables to substitute in, to produce
C source files that contain jump tables for each emulation.

Copyright (C) 2012-2019 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.