gcc-toolset-13-annobin/annobin-tmp-default-to-using-group-attach.patch

12 lines
528 B
Diff

--- annobin.orig/gcc-plugin/annobin.cc 2024-08-01 15:11:39.354764926 +0100
+++ annobin-12.65/gcc-plugin/annobin.cc 2024-08-01 15:12:52.266046180 +0100
@@ -3311,7 +3311,7 @@ plugin_init (struct plugin_name_args *
versions that are needed. (Note - 2.35.2, as used by RHEL-9, is insufficient).
See BZ 2016458 for an example of where this solution is needed. */
#if GCCPLUGIN_VERSION_MAJOR >= 12
- annobin_attach_type = link_order;
+ annobin_attach_type = group;
#else
annobin_attach_type = group;
#endif