* elf32-mips.c (mips_elf_relocate_section): Don't create a reloc
authorIan Lance Taylor <ian@airs.com>
Mon, 17 Jun 1996 16:54:39 +0000 (16:54 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 17 Jun 1996 16:54:39 +0000 (16:54 +0000)
commit2df1e84b65f29f6736086b1b7878d0b519bf5c0b
tree41a6340d66c2ab60e2bbf8794d67bcba68189dd2
parent4f6d25a69ef68e11705304410500a5b110a7394c
* elf32-mips.c (mips_elf_relocate_section): Don't create a reloc
for R_MIPS_REL32 and R_MIPS_32 relocs if no dynamic sections were
created.
(mips_elf_check_relocs): Only create .rel.dyn for R_MIPS_REL32 and
R_MIPS_32 relocs if creating a shared library.
bfd/ChangeLog