This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] MIPS support for GNU hash
- From: Nick Clifton <nickc at redhat dot com>
- To: Mihailo Stojanovic <mihailo dot stojanovic at rt-rk dot com>, binutils at sourceware dot org
- Cc: petar dot jovanovic at rt-rk dot com, Chenghua Xu <paul dot hua dot gm at gmail dot com>, Joseph Myers <joseph at codesourcery dot com>, "Maciej W . Rozycki" <macro at linux-mips dot org>
- Date: Fri, 28 Jun 2019 12:08:00 +0100
- Subject: Re: [PATCH] MIPS support for GNU hash
- References: <1560961864-16776-1-git-send-email-mihailo.stojanovic@rt-rk.com>
Hi Mihailo,
> It proposed a new section (.gnu.xhash) and related dynamic tag
> (DT_GNU_XHASH).
I get the impression that this section, and tag, are MIPS specific.
If so then it may be better to include that in the names, ie .mips.xhash
and DT_MIPS_XHASH. If, on the other hand, you are intending for this
feature to have a wider appeal, then it would be worth proposing the
changes to the ELF standard committee.
Presumably you have tested this patch for thet target MIPS architecture(s).
Have you also made sure that it does not introduce any problems for other
architectures ? Have you tried building a toolchain configured with
--enable-targets=all ?
The patch itself looks fine to me, so my only real worry is the issue of
the names for the new section/tags.
Cheers
Nick