CVSROOT:        /cvs
Module name:    src
Changes by:     kette...@cvs.openbsd.org        2015/08/31 11:59:51

Modified files:
        gnu/usr.bin/binutils-2.17/bfd: elfxx-mips.c 

Log message:
The code that guesstimates the number of local GOT entries assumes that there
are only two loadable segments.  With W^X on OpenBSD, we will typically
create more than two.  Most shared libraries and binaries end up with
five of them.  One of them is the GOT itself so we don't need to take that
one into account.  So raise the number of spare local GOT entries from 5 to 7.

This fixes building liblto_plugin.so in the gcc 4.9 port.

ok miod@, jasper@, pascal@

Reply via email to