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 /gdb/minimon.h | |
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 'gdb/minimon.h')
0 files changed, 0 insertions, 0 deletions