mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-12 01:24:12 +08:00
* config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2007-11-26 Thomas Ogrisegg <tom-bugs@gas.fnord.at>
|
||||||
|
|
||||||
|
* config/tc-alpha.c (assemble_insn): Don't segv on NULL reloc_operand.
|
||||||
|
|
||||||
2007-11-19 Bob Wilson <bob.wilson@acm.org>
|
2007-11-19 Bob Wilson <bob.wilson@acm.org>
|
||||||
|
|
||||||
* config/xtensa-istack.h (tinsn_struct): Replace linenum field
|
* config/xtensa-istack.h (tinsn_struct): Replace linenum field
|
||||||
|
@ -1968,7 +1968,8 @@ assemble_insn (const struct alpha_opcode *opcode,
|
|||||||
{
|
{
|
||||||
reloc_howto_type *reloc_howto
|
reloc_howto_type *reloc_howto
|
||||||
= bfd_reloc_type_lookup (stdoutput, reloc);
|
= bfd_reloc_type_lookup (stdoutput, reloc);
|
||||||
if (reloc_howto->bitsize != reloc_operand->bits)
|
if (reloc_operand == NULL
|
||||||
|
|| reloc_howto->bitsize != reloc_operand->bits)
|
||||||
{
|
{
|
||||||
as_bad (_("invalid relocation for field"));
|
as_bad (_("invalid relocation for field"));
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user