projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Manage objfiles with shared_ptr
[deliverable/binutils-gdb.git]
/
bfd
/
xtensa-isa.c
diff --git
a/bfd/xtensa-isa.c
b/bfd/xtensa-isa.c
index cf5543ebcdc33f811178a6b466255c69470d2d92..172de6f41e9b8a535abd6e107de712db33bbe97f 100644
(file)
--- a/
bfd/xtensa-isa.c
+++ b/
bfd/xtensa-isa.c
@@
-1,5
+1,5
@@
/* Configurable Xtensa ISA support.
/* Configurable Xtensa ISA support.
- Copyright
2003, 2004, 2005, 2007, 2008, 200
9 Free Software Foundation, Inc.
+ Copyright
(C) 2003-201
9 Free Software Foundation, Inc.
This file is part of BFD, the Binary File Descriptor library.
This file is part of BFD, the Binary File Descriptor library.
@@
-292,7
+292,8
@@
xtensa_isa_init (xtensa_isa_status *errno_p, char **error_msg_p)
xtensa_sysreg_internal *sreg = &isa->sysregs[n];
is_user = sreg->is_user;
xtensa_sysreg_internal *sreg = &isa->sysregs[n];
is_user = sreg->is_user;
- isa->sysreg_table[is_user][sreg->number] = n;
+ if (sreg->number >= 0)
+ isa->sysreg_table[is_user][sreg->number] = n;
}
/* Set up the interface lookup table. */
}
/* Set up the interface lookup table. */
This page took
0.023466 seconds
and
4
git commands to generate.