mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
2dccca399c
Thanks to the monitor. Low security and high rebuild impact, but still...
16 lines
617 B
Diff
16 lines
617 B
Diff
http://git.savannah.gnu.org/cgit/libunwind.git/commit/?id=396b6c7ab737e2bff244d640601c436a26260ca1
|
|
|
|
diff --git a/include/dwarf_i.h b/include/dwarf_i.h
|
|
index 0e72845..86dcdb8 100644
|
|
--- a/include/dwarf_i.h
|
|
+++ b/include/dwarf_i.h
|
|
@@ -20,7 +20,7 @@
|
|
extern const uint8_t dwarf_to_unw_regnum_map[DWARF_REGNUM_MAP_LENGTH];
|
|
/* REG is evaluated multiple times; it better be side-effects free! */
|
|
# define dwarf_to_unw_regnum(reg) \
|
|
- (((reg) <= DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0)
|
|
+ (((reg) < DWARF_REGNUM_MAP_LENGTH) ? dwarf_to_unw_regnum_map[reg] : 0)
|
|
#endif
|
|
|
|
#ifdef UNW_LOCAL_ONLY
|