binutils-gdb/sim
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
..
aarch64 sim: fix aarch64 sim build 2019-03-28 13:46:09 +00:00
arm Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
avr Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
bfin Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
common bfd_section_* macros 2019-09-19 09:40:13 +09:30
cr16 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
cris bfd_section_* macros 2019-09-19 09:40:13 +09:30
d10v Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
erc32 bfd_section_* macros 2019-09-19 09:40:13 +09:30
frv Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
ft32 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
h8300 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
igen Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
iq2000 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
lm32 bfd_section_* macros 2019-09-19 09:40:13 +09:30
m32c bfd_section_* macros 2019-09-19 09:40:13 +09:30
m32r Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
m68hc11 bfd_section_* macros 2019-09-19 09:40:13 +09:30
mcore Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
microblaze Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
mips Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
mn10300 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
moxie Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
msp430 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
or1k sim/or1k: Regenerate sim 2019-06-13 21:27:09 +09:00
ppc bfd macro conversion to inline functions 2019-09-20 18:04:02 +09:30
rl78 bfd_section_* macros 2019-09-19 09:40:13 +09:30
rx bfd_section_* macros 2019-09-19 09:40:13 +09:30
sh Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
sh64 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
testsuite sim/testsuite/or1k: Add tests for unordered compares 2019-06-13 21:27:10 +09:00
v850 Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
.gitignore sim: drop common/cconfig.h in favor of a single config.h 2016-01-09 03:52:30 -05:00
ChangeLog bfd macro conversion to inline functions 2019-09-20 18:04:02 +09:30
configure Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
configure.ac Bump to autoconf 2.69 and automake 1.15.1 2018-06-19 16:55:06 -04:00
configure.tgt sim: or1k: add or1k target to sim 2017-12-12 23:44:14 +09:00
MAINTAINERS (gdb/sim) Move Mike Frysinger to past maintainers section 2019-02-28 11:20:29 +04:00
Makefile.in Update copyright year range in all GDB files. 2019-01-01 10:01:51 +04:00
README-HACKING sim: punt WITH_DEVICES & tconfig.h support 2015-12-26 20:38:31 -05:00