File: load-versioned-libcc1.patch

package info (click to toggle)
gdb 16.3-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 237,060 kB
  • sloc: ansic: 2,134,949; asm: 375,582; exp: 206,875; cpp: 73,639; makefile: 70,437; sh: 26,103; python: 13,697; yacc: 11,341; ada: 7,358; xml: 6,098; perl: 5,077; pascal: 3,389; tcl: 2,986; f90: 2,764; lisp: 1,984; cs: 879; lex: 738; sed: 228; awk: 181; objc: 137; fortran: 57
file content (38 lines) | stat: -rw-r--r-- 1,283 bytes parent folder | download | duplicates (6)
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 <zumbi@debian.org>
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 <zumbi@debian.org>
---
 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.  */