Don't update reloc count if there are any non pc-relative relocs
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 14 Jan 2014 18:48:39 +0000 (10:48 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 14 Jan 2014 18:48:39 +0000 (10:48 -0800)
commitd1ec1e40b5b457c92aaa23f7af40e026e4596a99
treea738f9ebaedda22ae8f22e5a80f2affc95da16a7
parent8213266aeadc6cfae8313f1335f33a43e40f0a8c
Don't update reloc count if there are any non pc-relative relocs

PR ld/16428
* elf32-i386.c (elf_i386_allocate_dynrelocs): Don't update reloc
count if there are any non pc-relative relocs.
* elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
bfd/ChangeLog
bfd/elf32-i386.c
bfd/elf64-x86-64.c