Pull htab_eq_string from gcc libiberty

Richard Earnshaw Richard.Earnshaw@foss.arm.com
Fri May 7 15:04:07 GMT 2021


On 07/05/2021 15:58, Tom Tromey wrote:
> Richard> It does make me wonder why, in the days of git, we aren't using git
> Richard> modules in both tools now for libiberty and include, then we wouldn't 
> Richard> have sync problems.
> 
> I wouldn't mind.  Submodules are a bit of a pain, but not really worse
> than what we're doing currently.
> 
> Unfortunately I don't think we could share the top level this way.
> Maybe we could come up with some solution, like making symlinks or
> something.
> 
> Also the binutils-gdb include directory has files not present in gcc.
> We'd have to clean that up as well.
> 
> Tom
> 


Well the obvious way around the latter issue is to get rid of the single
top-level include altogether and move the exported headers to say
libiberty/include, bfd/include opcodes/include, etc.  Then each
interface would pretty much stand on its own.

Not that I'm volunteering to do this at present, just a suggestion if we
wanted to clean this up... :)

R.


More information about the Binutils mailing list