* elf32-mips.c (mips_elf_check_relocs): Create the .rel.dyn
authorIan Lance Taylor <ian@airs.com>
Fri, 9 Aug 1996 16:47:15 +0000 (16:47 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 9 Aug 1996 16:47:15 +0000 (16:47 +0000)
commitf11e3f6278f65a685fde16ffbcadfef574935fea
tree5d18b6983924c613c0cddd7bcc809bdaed0190ee
parentbd3bab1eed665fb2d8053a8d3043824959cb599f
* elf32-mips.c (mips_elf_check_relocs): Create the .rel.dyn
section if it might be needed, not just if info->shared.
(mips_elf_adjust_dynamic_symbol): Make room for a null element at
the start of .rel.dyn if we are going to use it.
(mips_elf_finish_dynamic_sections): Only clear the first element
of .rel.dyn if the size is greater than zero.
Fix this case from c-torture:
extern int abort();
typedef int (*frob)();
frob f[] = {abort};
main()
{
  exit(0);
}
bfd/ChangeLog
This page took 0.02399 seconds and 4 git commands to generate.