binutils-gdb/sim/igen
Sebastian Huber c4df5bbeb8 sim/igen: Fix linker error with -fno-common
GCC 10 enables -fno-common by default.  This resulted in multiple
definition linker errors since a global variable was declared and
defined in a header file:

  ld: libsim.a(idecode.o):sim/v850/idecode.h:71: multiple definition of
  `idecode_issue'; libsim.a(irun.o):sim/v850/idecode.h:71: first defined
  here

  ld: libsim.a(engine.o):sim/v850/idecode.h:71: multiple definition of
  `idecode_issue'; libsim.a(irun.o):sim/v850/idecode.h:71: first defined
  here

  ld: libsim.a(support.o):sim/v850/idecode.h:71: multiple definition of
  `idecode_issue'; libsim.a(irun.o):sim/v850/idecode.h:71: first defined
  here

  ld: libsim.a(semantics.o):sim/v850/idecode.h:71: multiple definition
  of `idecode_issue'; libsim.a(irun.o):sim/v850/idecode.h:71: first
  defined here

sim/igen

	PR sim/26194

	* lf.h (lf_get_file_type): Declare.
	* lf.c (lf_get_file_type): Define.
	* gen-idecode.c (print_idecode_issue_function_header): Use
	lf_get_file_type() to issue an extern variable declaration in
	case of header files.
2020-07-03 21:03:47 +02:00
..
ChangeLog sim/igen: Fix linker error with -fno-common 2020-07-03 21:03:47 +02:00
compare_igen_models Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
config.in
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
filter_host.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
filter_host.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
filter.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
filter.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gen-engine.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gen-engine.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gen-icache.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gen-icache.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gen-idecode.c sim/igen: Fix linker error with -fno-common 2020-07-03 21:03:47 +02:00
gen-idecode.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gen-itable.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gen-itable.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gen-model.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gen-model.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gen-semantics.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gen-semantics.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gen-support.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gen-support.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gen.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
gen.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
igen.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
igen.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
ld-cache.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
ld-cache.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
ld-decode.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
ld-decode.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
ld-insn.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
ld-insn.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
lf.c sim/igen: Fix linker error with -fno-common 2020-07-03 21:03:47 +02:00
lf.h sim/igen: Fix linker error with -fno-common 2020-07-03 21:03:47 +02:00
Makefile.in Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
misc.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
misc.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
table.c Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00
table.h Update copyright year range in all GDB files. 2020-01-01 10:20:53 +04:00