aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/bpf/bpf.h
diff options
context:
space:
mode:
authorMartin Liska <mliska@suse.cz>2021-06-29 08:49:26 +0200
committerMartin Liska <mliska@suse.cz>2021-06-29 08:49:26 +0200
commit490d1e1be15b62b51a2de248e6d7f76356402bc9 (patch)
treea140872a97abd647ca0e5287e5375b7514be227b /gcc/config/bpf/bpf.h
parentadf0825ae77554b00615521a545b608892bb272c (diff)
parent095a01cf6e3883b3083cf339b680cdb39910f529 (diff)
downloadgcc-490d1e1be15b62b51a2de248e6d7f76356402bc9.zip
gcc-490d1e1be15b62b51a2de248e6d7f76356402bc9.tar.gz
gcc-490d1e1be15b62b51a2de248e6d7f76356402bc9.tar.bz2
Merge branch 'master' into devel/sphinx
Diffstat (limited to 'gcc/config/bpf/bpf.h')
-rw-r--r--gcc/config/bpf/bpf.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/gcc/config/bpf/bpf.h b/gcc/config/bpf/bpf.h
index 80195ce..82be0c3 100644
--- a/gcc/config/bpf/bpf.h
+++ b/gcc/config/bpf/bpf.h
@@ -235,17 +235,9 @@ enum reg_class
/**** Debugging Info ****/
-/* We cannot support DWARF2 because of the limitations of eBPF. */
+/* In eBPF it is not possible to unwind frames. Disable CFA. */
-/* elfos.h insists in using DWARF. Undo that here. */
-#ifdef DWARF2_DEBUGGING_INFO
-# undef DWARF2_DEBUGGING_INFO
-#endif
-#ifdef PREFERRED_DEBUGGING_TYPE
-# undef PREFERRED_DEBUGGING_TYPE
-#endif
-
-#define DBX_DEBUGGING_INFO
+#define DWARF2_FRAME_INFO 0
/**** Stack Layout and Calling Conventions. */