binutils-gdb/gas/po
Alan Modra 55add51eef PR23691, gas .y files vs. automatic make dependencies
A number of targets, bfin, rl78, rx, can show odd failures when
bfd/reloc.c changes BFD_RELOC_* enum values, if recompiling over a
build dir with existing objects.  The problem is caused by
bfin-parse.o and similar not being recompiled and so using stale
BFD_RELOC_* values.  This isn't fixed by making bfin-parse.c depend on
bfd/reloc.c, which isn't necessary anyway.  bfin-parse.o should have
been recompiled due to bfd/bfd.h changing when extracted bfd/reloc.c
BFD_RELOC_* values change, but that wasn't happening.  The problem is
that automake generates a makefile that loads gas/config/.deps/
dependency file for objects with corresponding sources mentioned in
EXTRA_as_new_SOURCES.  Unless we want to mess around generating
explicit dependencies, I think that mean moving some object files to
the build gas/config/.  This patch does that, removing some hacks for
m68k-parse.c that should no longer be necessary, and removes some
rules that catered to old bison producing code that triggers compiler
warnings.

	PR 23691
	* Makefile.am (TARGET_CPU_CFILES): Split off config/xtensa-relax.c..
	(TARGET_CPU_HFILES): ..and config/xtensa-relax.h..
	(TARGET_EXTRA_FILES): ..to here.  Add config/bfin-lex-wrapper.c,
	and use alongside TARGET_CPU_CFILES.
	(EXTRA_DIST): Update location of generated .c files.
	(config/m68k-parse.c): New rule replacing m68k-parse.c rule.
	(config/bfin-parse.c, config/rl78-parse.cm config/rx-parse.c),
	(config/bfin-lex.c, config/bfin-lex-wrapper.@OBJEXT@): Similarly.
	(itbl-lex-wrapper.@OBJEXT@): Simplify to just the needed
	dependencies.
	(itbl-parse.@OBJEXT@): Delete rule using NO_WERROR.
	(itbl-parse.c, itbl-parse.h): Tidy.
	* config/bfin-lex-wrapper.c: Include config/bfin-lex.c.
	* config/bfin-lex.l: Include config/bfin-parse.h.
	* configure.ac (extra_objects): Move object files corresponding
	to .y and .l files now in config/ to config/.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
	* po/POTFILES.in: Regenerate.
2021-02-24 10:13:00 +10:30
..
.cvsignore
es.po Updated Spanish translation for the gas sub-directory. 2018-05-01 16:42:41 +01:00
fi.po Update PO files 2017-07-12 23:08:59 +09:30
fr.po Updated translations for some subdirectories 2021-01-12 13:18:50 +00:00
gas.pot Change version number to 2.36.50 and regenerate files 2021-01-09 11:01:01 +00:00
id.po Update PO files 2017-07-12 23:08:59 +09:30
ja.po Update PO files 2017-07-12 23:08:59 +09:30
Make-in Update year range in copyright notice of binutils files 2021-01-01 10:31:05 +10:30
POTFILES.in PR23691, gas .y files vs. automatic make dependencies 2021-02-24 10:13:00 +10:30
ru.po Updated Serbian and Russian translations for various sub-directories 2020-08-12 11:25:38 +01:00
rw.po
sv.po Update Swedish translation for the gas sub-directory and a new Serbian translation for the gold sub-directory. 2020-05-14 11:26:26 +01:00
tr.po Update PO files 2017-07-12 23:08:59 +09:30
uk.po Updated translations for multiple subdirectories 2021-01-11 12:55:33 +00:00
zh_CN.po Update PO files 2017-07-12 23:08:59 +09:30