This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] rx: Make rx-parse.c depend on bfd/reloc.c
- From: Alan Modra <amodra at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Fri, 21 Sep 2018 09:21:49 +0930
- Subject: Re: [PATCH] rx: Make rx-parse.c depend on bfd/reloc.c
- References: <20180920160107.5389-1-hjl.tools@gmail.com>
On Thu, Sep 20, 2018 at 09:01:07AM -0700, H.J. Lu wrote:
> Since rx-parse.y uses BFD_RELOC_XXX, we need to regenerate rx-parse.c
> when bfd/reloc.c changhes.
>
> PR gas/23692
> * Makefile.am (rx-parse.c): Depend on $(srcdir)/../bfd/reloc.c.
> * Makefile.in: Regenerated.
OK thanks, but please extend this patch to cover bfin and rl78 too.
$ grep -l BFD_RELOC gas/config/*.y
gas/config/bfin-parse.y
gas/config/rl78-parse.y
gas/config/rx-parse.y
--
Alan Modra
Australia Development Lab, IBM