aboutsummaryrefslogtreecommitdiff
path: root/gdb/python
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2025-03-14 10:29:33 +0100
committerJan Beulich <jbeulich@suse.com>2025-03-14 10:29:33 +0100
commit61a5adc314c7f0c14913c2300ce4cb7b3760d2a6 (patch)
treec40ce359ee22dc699e905574511dcf1192da02b1 /gdb/python
parenta64e445f7a83e8b809c97610354b71125da8513e (diff)
downloadbinutils-61a5adc314c7f0c14913c2300ce4cb7b3760d2a6.zip
binutils-61a5adc314c7f0c14913c2300ce4cb7b3760d2a6.tar.gz
binutils-61a5adc314c7f0c14913c2300ce4cb7b3760d2a6.tar.bz2
gas: deal with the need for relocations from .cfi_{escape,fde_data}
Ignoring return values often isn't a good idea. The Sparc assembler in particular would report an internal error if an expression with relocation specifier is used with .cfi_escape, when the same works fine with .byte. Propagate the relocation indicator up from do_parse_cons_expression(), and eventually into emit_expr_with_reloc(). dot_cfi_fde_data(), only retaining the expression's X_add_number, would require further work. Simply report the lack of support there. While there, also check that what we were dealt is actually a constant.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions