mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-12 12:16:04 +08:00
55add51eef
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.
266 lines
4.2 KiB
Plaintext
266 lines
4.2 KiB
Plaintext
app.c
|
|
as.c
|
|
as.h
|
|
asintl.h
|
|
atof-generic.c
|
|
bignum.h
|
|
bit_fix.h
|
|
cgen.c
|
|
cgen.h
|
|
compress-debug.c
|
|
compress-debug.h
|
|
cond.c
|
|
config/atof-ieee.c
|
|
config/atof-vax.c
|
|
config/bfin-lex-wrapper.c
|
|
config/e-crisaout.c
|
|
config/e-criself.c
|
|
config/e-i386aout.c
|
|
config/e-i386coff.c
|
|
config/e-i386elf.c
|
|
config/e-mipself.c
|
|
config/obj-aout.c
|
|
config/obj-aout.h
|
|
config/obj-coff.c
|
|
config/obj-coff.h
|
|
config/obj-ecoff.c
|
|
config/obj-ecoff.h
|
|
config/obj-elf.c
|
|
config/obj-elf.h
|
|
config/obj-evax.c
|
|
config/obj-evax.h
|
|
config/obj-fdpicelf.c
|
|
config/obj-fdpicelf.h
|
|
config/obj-macho.c
|
|
config/obj-macho.h
|
|
config/obj-multi.c
|
|
config/obj-multi.h
|
|
config/obj-som.c
|
|
config/obj-som.h
|
|
config/tc-aarch64.c
|
|
config/tc-aarch64.h
|
|
config/tc-alpha.c
|
|
config/tc-alpha.h
|
|
config/tc-arc.c
|
|
config/tc-arc.h
|
|
config/tc-arm.c
|
|
config/tc-arm.h
|
|
config/tc-avr.c
|
|
config/tc-avr.h
|
|
config/tc-bfin.c
|
|
config/tc-bfin.h
|
|
config/tc-bpf.c
|
|
config/tc-bpf.h
|
|
config/tc-cr16.c
|
|
config/tc-cr16.h
|
|
config/tc-cris.c
|
|
config/tc-cris.h
|
|
config/tc-crx.c
|
|
config/tc-crx.h
|
|
config/tc-csky.c
|
|
config/tc-csky.h
|
|
config/tc-d10v.c
|
|
config/tc-d10v.h
|
|
config/tc-d30v.c
|
|
config/tc-d30v.h
|
|
config/tc-dlx.c
|
|
config/tc-dlx.h
|
|
config/tc-epiphany.c
|
|
config/tc-epiphany.h
|
|
config/tc-fr30.c
|
|
config/tc-fr30.h
|
|
config/tc-frv.c
|
|
config/tc-frv.h
|
|
config/tc-ft32.c
|
|
config/tc-ft32.h
|
|
config/tc-h8300.c
|
|
config/tc-h8300.h
|
|
config/tc-hppa.c
|
|
config/tc-hppa.h
|
|
config/tc-i386.c
|
|
config/tc-i386.h
|
|
config/tc-ia64.c
|
|
config/tc-ia64.h
|
|
config/tc-ip2k.c
|
|
config/tc-ip2k.h
|
|
config/tc-iq2000.c
|
|
config/tc-iq2000.h
|
|
config/tc-lm32.c
|
|
config/tc-lm32.h
|
|
config/tc-m32c.c
|
|
config/tc-m32c.h
|
|
config/tc-m32r.c
|
|
config/tc-m32r.h
|
|
config/tc-m68hc11.c
|
|
config/tc-m68hc11.h
|
|
config/tc-m68k.c
|
|
config/tc-m68k.h
|
|
config/tc-mcore.c
|
|
config/tc-mcore.h
|
|
config/tc-mep.c
|
|
config/tc-mep.h
|
|
config/tc-metag.c
|
|
config/tc-metag.h
|
|
config/tc-microblaze.c
|
|
config/tc-microblaze.h
|
|
config/tc-mips.c
|
|
config/tc-mips.h
|
|
config/tc-mmix.c
|
|
config/tc-mmix.h
|
|
config/tc-mn10200.c
|
|
config/tc-mn10200.h
|
|
config/tc-mn10300.c
|
|
config/tc-mn10300.h
|
|
config/tc-moxie.c
|
|
config/tc-msp430.c
|
|
config/tc-msp430.h
|
|
config/tc-mt.c
|
|
config/tc-mt.h
|
|
config/tc-nds32.c
|
|
config/tc-nds32.h
|
|
config/tc-nios2.c
|
|
config/tc-nios2.h
|
|
config/tc-ns32k.c
|
|
config/tc-ns32k.h
|
|
config/tc-or1k.c
|
|
config/tc-or1k.h
|
|
config/tc-pdp11.c
|
|
config/tc-pdp11.h
|
|
config/tc-pj.c
|
|
config/tc-pj.h
|
|
config/tc-ppc.c
|
|
config/tc-ppc.h
|
|
config/tc-pru.c
|
|
config/tc-pru.h
|
|
config/tc-riscv.c
|
|
config/tc-riscv.h
|
|
config/tc-rl78.c
|
|
config/tc-rl78.h
|
|
config/tc-rx.c
|
|
config/tc-rx.h
|
|
config/tc-s12z.c
|
|
config/tc-s12z.h
|
|
config/tc-s390.c
|
|
config/tc-s390.h
|
|
config/tc-score.c
|
|
config/tc-score.h
|
|
config/tc-sh.c
|
|
config/tc-sh.h
|
|
config/tc-sparc.c
|
|
config/tc-sparc.h
|
|
config/tc-spu.c
|
|
config/tc-spu.h
|
|
config/tc-tic30.c
|
|
config/tc-tic30.h
|
|
config/tc-tic4x.c
|
|
config/tc-tic4x.h
|
|
config/tc-tic54x.c
|
|
config/tc-tic54x.h
|
|
config/tc-tic6x.c
|
|
config/tc-tic6x.h
|
|
config/tc-tilegx.c
|
|
config/tc-tilegx.h
|
|
config/tc-tilepro.c
|
|
config/tc-tilepro.h
|
|
config/tc-v850.c
|
|
config/tc-v850.h
|
|
config/tc-vax.c
|
|
config/tc-vax.h
|
|
config/tc-visium.c
|
|
config/tc-visium.h
|
|
config/tc-wasm32.c
|
|
config/tc-wasm32.h
|
|
config/tc-xc16x.c
|
|
config/tc-xc16x.h
|
|
config/tc-xgate.c
|
|
config/tc-xgate.h
|
|
config/tc-xstormy16.c
|
|
config/tc-xstormy16.h
|
|
config/tc-xtensa.c
|
|
config/tc-xtensa.h
|
|
config/tc-z80.c
|
|
config/tc-z80.h
|
|
config/tc-z8k.c
|
|
config/tc-z8k.h
|
|
config/te-386bsd.h
|
|
config/te-aix5.h
|
|
config/te-armeabi.h
|
|
config/te-armfbsdeabi.h
|
|
config/te-armfbsdvfp.h
|
|
config/te-armlinuxeabi.h
|
|
config/te-csky_abiv1.h
|
|
config/te-csky_abiv1_linux.h
|
|
config/te-csky_abiv2.h
|
|
config/te-csky_abiv2_linux.h
|
|
config/te-freebsd.h
|
|
config/te-generic.h
|
|
config/te-gnu.h
|
|
config/te-go32.h
|
|
config/te-hppa.h
|
|
config/te-hppa64.h
|
|
config/te-hppalinux64.h
|
|
config/te-ia64aix.h
|
|
config/te-interix.h
|
|
config/te-lynx.h
|
|
config/te-macos.h
|
|
config/te-nbsd.h
|
|
config/te-nbsd532.h
|
|
config/te-pc532mach.h
|
|
config/te-pe.h
|
|
config/te-solaris.h
|
|
config/te-svr4.h
|
|
config/te-tmips.h
|
|
config/te-vms.c
|
|
config/te-vxworks.h
|
|
config/te-wince-pe.h
|
|
config/xtensa-relax.c
|
|
config/xtensa-relax.h
|
|
depend.c
|
|
dw2gencfi.c
|
|
dw2gencfi.h
|
|
dwarf2dbg.c
|
|
dwarf2dbg.h
|
|
ecoff.c
|
|
ecoff.h
|
|
ehopt.c
|
|
emul-target.h
|
|
emul.h
|
|
expr.c
|
|
expr.h
|
|
flonum-copy.c
|
|
flonum-konst.c
|
|
flonum-mult.c
|
|
flonum.h
|
|
frags.c
|
|
frags.h
|
|
hash.c
|
|
hash.h
|
|
input-file.c
|
|
input-file.h
|
|
input-scrub.c
|
|
itbl-lex.h
|
|
itbl-ops.c
|
|
itbl-ops.h
|
|
listing.c
|
|
listing.h
|
|
literal.c
|
|
macro.c
|
|
macro.h
|
|
messages.c
|
|
obj.h
|
|
output-file.c
|
|
output-file.h
|
|
read.c
|
|
read.h
|
|
remap.c
|
|
sb.c
|
|
sb.h
|
|
stabs.c
|
|
subsegs.c
|
|
subsegs.h
|
|
symbols.c
|
|
symbols.h
|
|
tc.h
|
|
write.c
|
|
write.h
|