diff options
author | Christian Eggers <ceggers@gmx.de> | 2019-03-10 19:21:53 +0100 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-03-13 13:29:28 +1030 |
commit | d18d199917337537713f9fc4b7ae4d6568f740cf (patch) | |
tree | aef953bb061dd985c773dde8b35c41cccc74916d /gas/dwarf2dbg.c | |
parent | 71250b94dc669b285cddcb744a7b3d1c7e2ec94b (diff) | |
download | gdb-d18d199917337537713f9fc4b7ae4d6568f740cf.zip gdb-d18d199917337537713f9fc4b7ae4d6568f740cf.tar.gz gdb-d18d199917337537713f9fc4b7ae4d6568f740cf.tar.bz2 |
Symbols with octets value
Up to now, all symbol values are in units of bytes, where a "byte" can
consist of one or more octets (e.g. 8 bit or 16 bit).
Allow to specfiy that the "unit" of a newly created symbol is octets
(exactly 8 bit), instead of bytes.
* symbols.h (symbol_temp_new_now_octets): Declare.
(symbol_set_value_now_octets, symbol_octets_p): Declare.
* symbols.c (struct symbol_flags): New member sy_octets.
(symbol_temp_new_now_octets): New function.
(resolve_symbol_value): Return octets instead of bytes if
sy_octets is set.
(symbol_set_value_now_octets): New function.
(symbol_octets_p): New function.
Diffstat (limited to 'gas/dwarf2dbg.c')
0 files changed, 0 insertions, 0 deletions