binutils-gdb/ld/emultempl
Alan Modra a48931cc2d bfd macro conversion to inline functions, section
This one exposed a bug in tic6x gas, found with inline function
parameter type checking.  struct bfd_section and struct bfd_symbol
both have a flags field, so bfd_is_com_section (symbol) compiled OK
when bfd_is_com_section was a macro but didn't special case common
symbols.

bfd/
	* bfd-in.h (bfd_section_name, bfd_section_size, bfd_section_vma),
	(bfd_section_lma, bfd_section_alignment, bfd_section_flags),
	(bfd_section_userdata, bfd_is_com_section, discarded_section),
	(bfd_get_section_limit_octets, bfd_get_section_limit): Delete macros.
	* bfd.c (bfd_get_section_limit_octets, bfd_get_section_limit),
	(bfd_section_list_remove, bfd_section_list_append),
	(bfd_section_list_prepend, bfd_section_list_insert_after),
	(bfd_section_list_insert_before, bfd_section_removed_from_list):
	New inline functions.
	* section.c (bfd_is_und_section, bfd_is_abs_section),
	(bfd_is_ind_section, bfd_is_const_section, bfd_section_list_remove),
	(bfd_section_list_append, bfd_section_list_prepend),
	(bfd_section_list_insert_after, bfd_section_list_insert_before),
	(bfd_section_removed_from_list): Delete macros.
	(bfd_section_name, bfd_section_size, bfd_section_vma),
	(bfd_section_lma, bfd_section_alignment, bfd_section_flags),
	(bfd_section_userdata, bfd_is_com_section, bfd_is_und_section),
	(bfd_is_abs_section, bfd_is_ind_section, bfd_is_const_section),
	(discarded_section): New inline functions.
	* bfd-in2.h: Regenerate.
gas/
	* config/tc-tic6x.c (tc_gen_reloc): Correct common symbol check.
ld/
	* emultempl/xtensaelf.em (xtensa_get_section_deps): Comment.
	Use bfd_section_userdata.
	(xtensa_set_section_deps): Use bfd_set_section_userdata.
	* ldlang.c (lang_output_section_get): Use bfd_section_userdata.
	(sort_def_symbol): Likewise, and bfd_set_section_userdata.
	(init_os): Use bfd_set_section_userdata.
	(print_all_symbols): Use bfd_section_userdata.
	* ldlang.h (get_userdata): Delete.
2019-09-20 18:04:03 +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
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
generic.em
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
linux.em
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
needrelax.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
netbsd.em
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
riscvelf.em
rxelf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
s390.em
scoreelf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
solaris2-x86.em
solaris2.em
spu_icache.o_c
spu_icache.S
spu_ovl.o_c
spu_ovl.S
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
v850elf.em Rename elf32.em to elf.em 2019-09-11 13:45:18 +09:30
vanilla.em
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 macro conversion to inline functions, section 2019-09-20 18:04:03 +09:30
z80.em

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.