From c08732313cfc81fadfe6487a722f16931f9dae6a Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sat, 1 May 2004 00:48:33 +0000 Subject: [PATCH] re PR target/11608 (testcase gcc.dg/debug/20020327-1.c fails with -gstabs1 etc.) 2004-04-20 Andrew Pinski PR target/11608 * config/sh/elf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Update and make it more like the one in config/dbxelf.h. From-SVN: r81379 --- gcc/ChangeLog | 6 ++++++ gcc/config/sh/elf.h | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 76b6a981938..658a282e536 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-04-20 Andrew Pinski + + PR target/11608 + * config/sh/elf.h (DBX_OUTPUT_MAIN_SOURCE_FILE_END): Update and make it + more like the one in config/dbxelf.h. + 2004-04-30 Zack Weinberg * tree.h (SET_ARRAY_OR_VECTOR_CHECK): Rename to SET_OR_ARRAY_CHECK diff --git a/gcc/config/sh/elf.h b/gcc/config/sh/elf.h index 964d88596c3..f5cfcb667b0 100644 --- a/gcc/config/sh/elf.h +++ b/gcc/config/sh/elf.h @@ -95,7 +95,7 @@ while (0) #define DBX_OUTPUT_MAIN_SOURCE_FILE_END(FILE, FILENAME) \ do { \ text_section (); \ - fprintf ((FILE), "\t.stabs \"\",%d,0,0,Letext\nLetext:\n", N_SO); \ + asm_fprintf ((FILE), "\t.stabs \"\",%d,0,0,%LLetext\n%LLetext:\n", N_SO); \ } while (0) #undef STARTFILE_SPEC -- 2.30.2