summaryrefslogtreecommitdiffstats
path: root/sources/gcc-undefined-LIBGCC_EH_FRAME_SECTION_NAME.patch
blob: ad87ae99a9bfc79dd6d1578110df69bcace78452 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -ruNb gcc-13.3.0.orig/libgcc/config/i386/cygming-crtbegin.c gcc-13.3.0/libgcc/config/i386/cygming-crtbegin.c
--- gcc-13.3.0.orig/libgcc/config/i386/cygming-crtbegin.c	2024-05-21 09:47:41.000000000 +0200
+++ gcc-13.3.0/libgcc/config/i386/cygming-crtbegin.c	2024-06-18 10:34:51.479213644 +0200
@@ -79,7 +79,7 @@
    register/deregister it with the exception handling library code.  */
 #if DWARF2_UNWIND_INFO
 static EH_FRAME_SECTION_CONST char __EH_FRAME_BEGIN__[]
-  __attribute__((used, section(__LIBGCC_EH_FRAME_SECTION_NAME__), aligned(4)))
+  __attribute__((used, section(EH_FRAME_SECTION_NAME), aligned(4)))
   = { };
 
 static struct object obj;
diff -ruNb gcc-13.3.0.orig/libgcc/config/i386/cygming-crtend.c gcc-13.3.0/libgcc/config/i386/cygming-crtend.c
--- gcc-13.3.0.orig/libgcc/config/i386/cygming-crtend.c	2024-05-21 09:47:41.000000000 +0200
+++ gcc-13.3.0/libgcc/config/i386/cygming-crtend.c	2024-06-18 10:35:16.439571858 +0200
@@ -48,7 +48,7 @@
    this would be the 'length' field in a real FDE.  */
 
 static EH_FRAME_SECTION_CONST int __FRAME_END__[]
-  __attribute__ ((used,  section(__LIBGCC_EH_FRAME_SECTION_NAME__),
+  __attribute__ ((used,  section(EH_FRAME_SECTION_NAME),
 		  aligned(4)))
   = { 0 };
 #endif