diff options
author | Dmitry Selyutin <ghostmansd@gmail.com> | 2022-07-18 12:46:53 +0300 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-07-20 12:20:14 +0930 |
commit | ffd29c9c21422ddacdd66ead68ee060ac01a28c5 (patch) | |
tree | 8a11642e5cd5e8dce66bd2ab172105d65cf7c28f /gdb/python | |
parent | 73d9afb778a2278c9a6fcc17f9a2c2ccbef8cce5 (diff) | |
download | binutils-ffd29c9c21422ddacdd66ead68ee060ac01a28c5.zip binutils-ffd29c9c21422ddacdd66ead68ee060ac01a28c5.tar.gz binutils-ffd29c9c21422ddacdd66ead68ee060ac01a28c5.tar.bz2 |
gas/symbols: introduce md_resolve_symbol
Assuming GMSD is a special operand, marked as O_md1, the code:
.set VREG, GMSD
.set REG, VREG
extsw REG, 2
...fails upon attempts to resolve the value of the symbol. This happens
since machine-dependent values are not handled in the giant op switch.
We introduce a custom md_resolve_symbol macro; the ports can use this
macro to customize the behavior when resolve_symbol_value hits O_md
operand.
Diffstat (limited to 'gdb/python')
0 files changed, 0 insertions, 0 deletions