diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-08-09 16:47:15 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-08-09 16:47:15 +0000 |
commit | f11e3f6278f65a685fde16ffbcadfef574935fea (patch) | |
tree | 5d18b6983924c613c0cddd7bcc809bdaed0190ee /bfd | |
parent | bd3bab1eed665fb2d8053a8d3043824959cb599f (diff) | |
download | gdb-f11e3f6278f65a685fde16ffbcadfef574935fea.zip gdb-f11e3f6278f65a685fde16ffbcadfef574935fea.tar.gz gdb-f11e3f6278f65a685fde16ffbcadfef574935fea.tar.bz2 |
* 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);
}
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3a5fa59..b91457d 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,12 @@ +Fri Aug 9 12:44:57 1996 Ian Lance Taylor <ian@cygnus.com> + + * 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. + Thu Aug 8 16:24:55 1996 Ian Lance Taylor <ian@cygnus.com> * xcofflink.c (xcoff_link_input_bfd): If we already called the |