1.1 --- a/patches/gcc/3.3.3/pr11608.patch Tue Aug 14 19:32:22 2007 +0000
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,26 +0,0 @@
1.4 -# See http://gcc.gnu.org/PR11608
1.5 -# Fixes following error when testing sh4 toolchain:
1.6 -#
1.7 -# Testing debug/20020327-1.c, -gstabs1
1.8 -# ...
1.9 -# FAIL: gcc.dg/debug/20020327-1.c (test for excess errors)
1.10 -# Excess errors:
1.11 -# /tmp/cc8dFF7Y.s: Assembler messages:
1.12 -# /tmp/cc8dFF7Y.s:66: Error: symbol `Letext' is already defined
1.13 -
1.14 -Index: elf.h
1.15 -===================================================================
1.16 -RCS file: /cvs/gcc/gcc/gcc/config/sh/elf.h,v
1.17 -retrieving revision 1.32
1.18 -diff -u -p -r1.32 elf.h
1.19 ---- gcc/gcc/config/sh/elf.h.old 27 Sep 2003 04:48:28 -0000 1.32
1.20 -+++ gcc/gcc/config/sh/elf.h 2 Jan 2004 07:23:23 -0000
1.21 -@@ -95,7 +95,7 @@ while (0)
1.22 - #define DBX_OUTPUT_MAIN_SOURCE_FILE_END(FILE, FILENAME) \
1.23 - do { \
1.24 - text_section (); \
1.25 -- fprintf ((FILE), "\t.stabs \"\",%d,0,0,Letext\nLetext:\n", N_SO); \
1.26 -+ asm_fprintf ((FILE), "\t.stabs \"\",%d,0,0,%LLetext\n%LLetext:\n", N_SO); \
1.27 - } while (0)
1.28 -
1.29 - #undef STARTFILE_SPEC