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 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 macro conversion to inline functions, section 2019-09-20 18:04:03 +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.