diff options
author | archerypp <archerypp@hotmail.com> | 2019-04-24 23:36:53 +0800 |
---|---|---|
committer | Dave Watson <davejwatson@fb.com> | 2019-04-24 08:36:53 -0700 |
commit | 861caf878215c4bda57f2780de862c6d1cb4e4c1 (patch) | |
tree | a57da96a78767c379a7b1f01deb1a0329addbcc8 /include | |
parent | 20df928c1c4ad11bf9c9e0e4cba026afcb56fd79 (diff) | |
download | libunwind-861caf878215c4bda57f2780de862c6d1cb4e4c1.tar.gz |
Delete hardcode of address size to support MIPS64. (#114)
Use the define for dwarf_addr_size in include/dwarf_i.h instead of hardcode(4) to support various MIPS architectures.
Signed-off-by: Archer Yan <ayan@wavecomp.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/tdep-mips/dwarf-config.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/tdep-mips/dwarf-config.h b/include/tdep-mips/dwarf-config.h index 8006d0b8..74b821f5 100644 --- a/include/tdep-mips/dwarf-config.h +++ b/include/tdep-mips/dwarf-config.h @@ -35,9 +35,6 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /* Return TRUE if the ADDR_SPACE uses big-endian byte-order. */ #define dwarf_is_big_endian(addr_space) ((addr_space)->big_endian) -/* Return the size of an address, for DWARF purposes. */ -#define dwarf_addr_size(addr_space) ((addr_space)->addr_size) - /* Convert a pointer to a dwarf_cursor structure to a pointer to unw_cursor_t. */ #define dwarf_to_cursor(c) ((unw_cursor_t *) (c)) |