This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] [PowerPC] VLE update
- From: Alan Modra <amodra at gmail dot com>
- To: Alexander Fedotov <alfedotov at gmail dot com>
- Cc: Bill Schmidt <wschmidt at linux dot vnet dot ibm dot com>, binutils at sourceware dot org
- Date: Thu, 25 Jul 2019 10:26:46 +0930
- Subject: Re: [PATCH] [PowerPC] VLE update
- References: <CAN8C2CrG3n5QP17Om=_0SwmLVOKi+Z9NV-oTKXsgnhhGd=N7cQ@mail.gmail.com> <20170827223428.GY3368@bubble.grove.modra.org> <CAN8C2CoL=Q+qbeYmFKScDR0ZihnEsrANYoy_qOF+QYUYV+eqfw@mail.gmail.com> <20170828131425.GE3368@bubble.grove.modra.org> <CAN8C2CrFgKgKjE5DHzfbk4+v0qrOL+0vp9gwtu2H5WANU1KThQ@mail.gmail.com> <20170829061727.GG3368@bubble.grove.modra.org> <CAN8C2CpixuaJaTcdV5eDVfWXygEUOjEubiMCYbTwVsvDLTdrgA@mail.gmail.com> <CAN8C2Coq+=z+fDE=-uYPhSf5Udr0731FwHiNdR6i3=DX0GVN-Q@mail.gmail.com> <20170904231509.GA22807@bubble.grove.modra.org> <CAN8C2CqZGw1D71dK2AG5H-EPURoSq6mjwBRP-y_CpgfhV_ny1g@mail.gmail.com>
On Wed, Jul 24, 2019 at 04:49:33PM +0300, Alexander Fedotov wrote:
> What do you think if we'll add R_PPC_VLE_PLTREL24 and
> R_PPC_VLE_LOCAL24 relocations after these years?
Do you really need them? The ppc32 ABI would have been better without
R_PPC_PLTREL24 and R_PPC_LOCAL24PC, I believe. The linker doesn't
need to be told by the user, perhaps erroneously, that a PLT entry is
required. It could have deduced that requirement from symbol
resolution on a REL24 relocation. Similarly, symbol visibility is a
better way to force local resolution than using @local.
--
Alan Modra
Australia Development Lab, IBM