From: John David Anglin Date: Sat, 10 Dec 2005 16:08:24 +0000 (+0000) Subject: re PR target/25258 ([4.0 regression/hpux] gcc generates incorrect stabs debug output) X-Git-Tag: releases/gcc-3.4.6~254 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2752f9ec45f21d99bff4da8cd279e82ed59961ff;p=thirdparty%2Fgcc.git re PR target/25258 ([4.0 regression/hpux] gcc generates incorrect stabs debug output) PR target/25258 * pa.c (som_text_section_asm_op): Use .NSUBSPA directive when changing to the text subspace to output debugging information. From-SVN: r108353 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8bd38784889f..93cbe3ee31db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2005-12-10 John David Anglin + + PR target/25258 + * pa.c (som_text_section_asm_op): Use .NSUBSPA directive when changing + to the text subspace to output debugging information. + 2005-12-06 Alan Modra PR other/13873 diff --git a/gcc/config/pa/pa.c b/gcc/config/pa/pa.c index 3a5d003114eb..02d97fd14c3b 100644 --- a/gcc/config/pa/pa.c +++ b/gcc/config/pa/pa.c @@ -9127,19 +9127,17 @@ som_text_section_asm_op (void) && !DECL_WEAK (cfun->decl)) return "\t.SPACE $TEXT$\n\t.NSUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,SORT=24,COMDAT"; - - return "\t.SPACE $TEXT$\n\t.NSUBSPA $CODE$"; } else { /* There isn't a current function or the body of the current function has been completed. So, we are changing to the - text section to output debugging information. Do this in - the default text section. We need to forget that we are - in the text section so that the function text_section in - varasm.c will call us the next time around. */ + text section to output debugging information. We need to + forget that we are in the text section so that the function + text_section in varasm.c will call us the next time around. */ forget_section (); } + return "\t.SPACE $TEXT$\n\t.NSUBSPA $CODE$"; } return "\t.SPACE $TEXT$\n\t.SUBSPA $CODE$";