aboutsummaryrefslogtreecommitdiffstats
path: root/package/devel/gdb/patches
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2019-06-17 16:43:51 -0700
committerChristian Lamparter <chunkeey@gmail.com>2019-07-07 13:02:05 +0200
commit787922682a0e41409159f4d55c5f0148dc4ecb16 (patch)
tree27f7feb01274ff655614cbd19dab7c1fb02ea094 /package/devel/gdb/patches
parentaac25bdba5cc324046074cbef3ca9a65b9145efc (diff)
downloadupstream-787922682a0e41409159f4d55c5f0148dc4ecb16.tar.gz
upstream-787922682a0e41409159f4d55c5f0148dc4ecb16.tar.bz2
upstream-787922682a0e41409159f4d55c5f0148dc4ecb16.zip
gdb: Remove !arc dependency
Supported since 8.0. Added uClibc-ng patch. Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'package/devel/gdb/patches')
-rw-r--r--package/devel/gdb/patches/130-uclibc-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/devel/gdb/patches/130-uclibc-fix.patch b/package/devel/gdb/patches/130-uclibc-fix.patch
new file mode 100644
index 0000000000..ea39acac21
--- /dev/null
+++ b/package/devel/gdb/patches/130-uclibc-fix.patch
@@ -0,0 +1,11 @@
+--- a/gdb/dwarf-index-write.c
++++ b/gdb/dwarf-index-write.c
+@@ -705,7 +705,7 @@ public:
+ gdb_assert (m_abbrev_table.empty ());
+ const size_t name_count = m_name_to_value_set.size ();
+ m_bucket_table.resize
+- (std::pow (2, std::ceil (std::log2 (name_count * 4 / 3))));
++ (std::pow (2, std::ceil (log2 (name_count * 4 / 3))));
+ m_hash_table.reserve (name_count);
+ m_name_table_string_offs.reserve (name_count);
+ m_name_table_entry_offs.reserve (name_count);