[committed] Change .plt entry size from 8 to 0 on 32-bit hppa

John David Anglin dave.anglin@bell.net
Sat Sep 12 17:17:00 GMT 2015


The attached change fixes PR ld/18514.  As noted in PR, the .plt section is not always a multiple of 8
since it additionally contains stubs that are not a multiple of 8 in size.  Thus, the section doesn't always
contain a table of values of of size 8.

In that case, the entry can't be 8.  It has to be either 4 (as it is on arm) or 0.  In the end, since there was
no comment in the PR, I applied Helge's patch.

Dave
--
John David Anglin	dave.anglin@bell.net


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: elf32-hppa.c.d.txt
URL: <https://sourceware.org/pipermail/binutils/attachments/20150912/5b1cebca/attachment.txt>


More information about the Binutils mailing list