remove_SDT_ASM_SECTION_AUTOGROUP_SUPPORT_check.patch raw
1 Remove _SDT_ASM_SECTION_AUTOGROUP_SUPPORT check
2 3 We assume that the assembler supports "?" in .pushsection directives.
4 This enables us to skip configure and make.
5 6 See https://github.com/bitcoin/bitcoin/issues/23297.
7 8 diff --git a/includes/sys/sdt.h b/includes/sys/sdt.h
9 index ca0162b..f96e0ee 100644
10 --- a/includes/sys/sdt.h
11 +++ b/includes/sys/sdt.h
12 @@ -241,12 +241,10 @@ __extension__ extern unsigned long long __sdt_unsp;
13 nice with code in COMDAT sections, which comes up in C++ code.
14 Without that assembler support, some combinations of probe placements
15 in certain kinds of C++ code may produce link-time errors. */
16 -#include "sdt-config.h"
17 -#if _SDT_ASM_SECTION_AUTOGROUP_SUPPORT
18 +/* PATCH: We assume that the assembler supports the feature. This
19 + enables us to skip configure and make. In turn, this means we
20 + require fewer dependencies and have shorter depend build times. */
21 # define _SDT_ASM_AUTOGROUP "?"
22 -#else
23 -# define _SDT_ASM_AUTOGROUP ""
24 -#endif
25 26 #define _SDT_DEF_MACROS \
27 _SDT_ASM_1(.altmacro) \
28