[PATCH] [PowerPC] VLE update

Alan Modra amodra@gmail.com
Thu Jul 25 00:56:00 GMT 2019


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



More information about the Binutils mailing list