diff options
Diffstat (limited to 'bfd/xtensa-isa.c')
-rw-r--r-- | bfd/xtensa-isa.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bfd/xtensa-isa.c b/bfd/xtensa-isa.c index 35b27db..138f6ec 100644 --- a/bfd/xtensa-isa.c +++ b/bfd/xtensa-isa.c @@ -1526,6 +1526,17 @@ xtensa_state_is_exported (xtensa_isa isa, xtensa_state st) } +int +xtensa_state_is_shared_or (xtensa_isa isa, xtensa_state st) +{ + xtensa_isa_internal *intisa = (xtensa_isa_internal *) isa; + CHECK_STATE (intisa, st, XTENSA_UNDEFINED); + if ((intisa->states[st].flags & XTENSA_STATE_IS_SHARED_OR) != 0) + return 1; + return 0; +} + + /* Sysregs. */ |