This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [PowerPC] VLE update


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]