mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-01 13:26:47 +08:00
2008-04-04 Adrian Bunk <bunk@stusta.de>
Bob Wilson <bob.wilson@acm.org> * config/tc-xtensa.c (xg_apply_fix_value): Check return code from call to decode_reloc.
This commit is contained in:
parent
c4723173a9
commit
1b6e95c267
@ -1,3 +1,9 @@
|
||||
2008-04-04 Adrian Bunk <bunk@stusta.de>
|
||||
Bob Wilson <bob.wilson@acm.org>
|
||||
|
||||
* config/tc-xtensa.c (xg_apply_fix_value): Check return code from
|
||||
call to decode_reloc.
|
||||
|
||||
2008-04-04 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* NEWS: Mention XSAVE. Change CLMUL to PCLMUL.
|
||||
|
@ -4969,8 +4969,8 @@ xg_apply_fix_value (fixS *fixP, valueT val)
|
||||
xtensa_opcode opcode;
|
||||
char *const fixpos = fixP->fx_frag->fr_literal + fixP->fx_where;
|
||||
|
||||
(void) decode_reloc (fixP->fx_r_type, &slot, &alt_reloc);
|
||||
if (alt_reloc)
|
||||
if (decode_reloc (fixP->fx_r_type, &slot, &alt_reloc)
|
||||
|| alt_reloc)
|
||||
as_fatal (_("unexpected fix"));
|
||||
|
||||
if (!insnbuf)
|
||||
|
Loading…
Reference in New Issue
Block a user