Package: gdb / 15.2-1

load-versioned-libcc1.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From: Hector Oron <[email protected]>
Date: Wed, 20 Feb 2019 13:25:36  0100
Subject: load-versioned-libcc1

* d/p/load-versioned-libcc1.patch:
  - load libcc1.so.0 instead unversioned file.

Author: Hector Oron <[email protected]>
---
 include/gcc-c-interface.h | 2  -
 1 file changed, 1 insertion( ), 1 deletion(-)

Index: gdb/include/gcc-c-interface.h
===================================================================
--- gdb.orig/include/gcc-c-interface.h
    gdb/include/gcc-c-interface.h
@@ -191,7  191,7 @@ struct gcc_c_context
 /* The name of the .so that the compiler builds.  We dlopen this
    later.  */
 
-#define GCC_C_FE_LIBCC libcc1.so
 #define GCC_C_FE_LIBCC libcc1.so.0
 
 /* The compiler exports a single initialization function.  This macro
    holds its name as a symbol.  */
Index: gdb/include/gcc-cp-interface.h
===================================================================
--- gdb.orig/include/gcc-cp-interface.h
    gdb/include/gcc-cp-interface.h
@@ -473,7  473,7 @@ struct gcc_cp_context
 /* The name of the .so that the compiler builds.  We dlopen this
    later.  */
 
-#define GCC_CP_FE_LIBCC libcc1.so
 #define GCC_CP_FE_LIBCC libcc1.so.0
 
 /* The compiler exports a single initialization function.  This macro
    holds its name as a symbol.  */