* config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is

unrepresentable.
This commit is contained in:
Andreas Schwab 2007-08-14 10:44:12 +00:00
parent e14a792bcf
commit cf73852866
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2007-08-14 Andreas Schwab <schwab@suse.de>
* config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
unrepresentable.
2007-08-12 Matthias Klose <doko@ubuntu.com>
* doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include

View File

@ -11678,6 +11678,8 @@ tc_gen_reloc (sec, fixp)
as_bad_where (fixp->fx_file, fixp->fx_line,
"Cannot represent %s relocation in object file",
bfd_get_reloc_code_name (fixp->fx_r_type));
free (reloc);
return NULL;
}
return reloc;
}