diff options
Diffstat (limited to 'meta/recipes-core/uclibc/uclibc-git/0001-i386-sysdep.h-Remove-STABS_-macros.patch')
-rw-r--r-- | meta/recipes-core/uclibc/uclibc-git/0001-i386-sysdep.h-Remove-STABS_-macros.patch | 71 |
1 files changed, 0 insertions, 71 deletions
diff --git a/meta/recipes-core/uclibc/uclibc-git/0001-i386-sysdep.h-Remove-STABS_-macros.patch b/meta/recipes-core/uclibc/uclibc-git/0001-i386-sysdep.h-Remove-STABS_-macros.patch deleted file mode 100644 index 8512c456a5..0000000000 --- a/meta/recipes-core/uclibc/uclibc-git/0001-i386-sysdep.h-Remove-STABS_-macros.patch +++ /dev/null | |||
@@ -1,71 +0,0 @@ | |||
1 | Upstream-Status: Submitted | ||
2 | |||
3 | -Khem | ||
4 | |||
5 | From e20fd2c2427be981c16cb936cc6866d08520de9b Mon Sep 17 00:00:00 2001 | ||
6 | From: Khem Raj <raj.khem@gmail.com> | ||
7 | Date: Mon, 25 Mar 2013 19:34:39 -0700 | ||
8 | Subject: [PATCH] i386/sysdep.h: Remove STABS_* macros | ||
9 | |||
10 | uclibc is compiled with elf/dwarf and secondly HAVE_CPP_ASM_DEBUGINFO | ||
11 | is not defined so we generate bogus .stab sections needlessly | ||
12 | |||
13 | Some of post processing tools get confused when they see both | ||
14 | dwarf and stab sections | ||
15 | |||
16 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
17 | --- | ||
18 | libc/sysdeps/linux/i386/sysdep.h | 27 --------------------------- | ||
19 | 1 file changed, 27 deletions(-) | ||
20 | |||
21 | diff --git a/libc/sysdeps/linux/i386/sysdep.h b/libc/sysdeps/linux/i386/sysdep.h | ||
22 | index 983c4f5..7a8d2e2 100644 | ||
23 | --- a/libc/sysdeps/linux/i386/sysdep.h | ||
24 | +++ b/libc/sysdeps/linux/i386/sysdep.h | ||
25 | @@ -43,12 +43,9 @@ | ||
26 | incomplete stabs information. Fake some entries here which specify | ||
27 | the current source file. */ | ||
28 | #define ENTRY(name) \ | ||
29 | - STABS_CURRENT_FILE1("") \ | ||
30 | - STABS_CURRENT_FILE(name) \ | ||
31 | ASM_GLOBAL_DIRECTIVE C_SYMBOL_NAME(name); \ | ||
32 | ASM_TYPE_DIRECTIVE (C_SYMBOL_NAME(name),@function) \ | ||
33 | .align ALIGNARG(4); \ | ||
34 | - STABS_FUN(name) \ | ||
35 | C_LABEL(name) \ | ||
36 | cfi_startproc; \ | ||
37 | CALL_MCOUNT | ||
38 | @@ -57,30 +54,6 @@ | ||
39 | #define END(name) \ | ||
40 | cfi_endproc; \ | ||
41 | ASM_SIZE_DIRECTIVE(name) \ | ||
42 | - STABS_FUN_END(name) | ||
43 | - | ||
44 | -#ifdef HAVE_CPP_ASM_DEBUGINFO | ||
45 | -/* Disable that goop, because we just pass -g through to the assembler | ||
46 | - and it generates proper line number information directly. */ | ||
47 | -# define STABS_CURRENT_FILE1(name) | ||
48 | -# define STABS_CURRENT_FILE(name) | ||
49 | -# define STABS_FUN(name) | ||
50 | -# define STABS_FUN_END(name) | ||
51 | -#else | ||
52 | -/* Remove the following two lines once the gdb bug is fixed. */ | ||
53 | -#define STABS_CURRENT_FILE(name) \ | ||
54 | - STABS_CURRENT_FILE1 (#name) | ||
55 | -#define STABS_CURRENT_FILE1(name) \ | ||
56 | - 1: .stabs name,100,0,0,1b; | ||
57 | -/* Emit stabs definition lines. We use F(0,1) and define t(0,1) as `int', | ||
58 | - the same way gcc does it. */ | ||
59 | -#define STABS_FUN(name) STABS_FUN2(name, name##:F(0,1)) | ||
60 | -#define STABS_FUN2(name, namestr) \ | ||
61 | - .stabs "int:t(0,1)=r(0,1);-2147483648;2147483647;",128,0,0,0; \ | ||
62 | - .stabs #namestr,36,0,0,name; | ||
63 | -#define STABS_FUN_END(name) \ | ||
64 | - 1: .stabs "",36,0,0,1b-name; | ||
65 | -#endif | ||
66 | |||
67 | /* If compiled for profiling, call `mcount' at the start of each function. */ | ||
68 | #ifdef PROF | ||
69 | -- | ||
70 | 1.7.9.5 | ||
71 | |||