summaryrefslogtreecommitdiff
path: root/dev-util/oprofile/files/oprofile-1.1.0-gcc6.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/oprofile/files/oprofile-1.1.0-gcc6.patch')
-rw-r--r--dev-util/oprofile/files/oprofile-1.1.0-gcc6.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/dev-util/oprofile/files/oprofile-1.1.0-gcc6.patch b/dev-util/oprofile/files/oprofile-1.1.0-gcc6.patch
deleted file mode 100644
index ab3ca7c1b142..000000000000
--- a/dev-util/oprofile/files/oprofile-1.1.0-gcc6.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/libop/op_alloc_counter.c
-+++ b/libop/op_alloc_counter.c
-@@ -171,7 +171,7 @@
- /* no counters then probably perfmon managing perfmon hw */
- if (nr_counters <= 0) {
- nr_counters = op_get_nr_counters(cpu_type);
-- unavailable_counters = (~0) << nr_counters;
-+ unavailable_counters = (~0U) << nr_counters;
- }
-
- /* Check to see if we have enough physical counters to map events*/
---- a/libutil++/op_bfd.cpp
-+++ b/libutil++/op_bfd.cpp
-@@ -535,15 +535,13 @@
- {
- op_bfd_symbol const & sym = syms[sym_idx];
-
-- bool const verbose = cverb << (vbfd & vlevel1);
--
- if (anon_obj)
- start = sym.vma();
- else
- start = sym.filepos();
- end = start + sym.size();
-
-- if (!verbose)
-+ if (!(cverb << (vbfd & vlevel1)))
- return;
-
- io_state state(cverb << (vbfd & vlevel1));