Commit b5adda73 by John David Anglin Committed by John David Anglin

som.h (ASM_OUTPUT_SOURCE_LINE): Use targetm.strip_name_encoding to strip name encoding.

	* som.h (ASM_OUTPUT_SOURCE_LINE): Use targetm.strip_name_encoding to
	strip name encoding.

From-SVN: r68267
parent 807ca3d4
2003-06-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* som.h (ASM_OUTPUT_SOURCE_LINE): Use targetm.strip_name_encoding to
strip name encoding.
2003-06-20 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* configure.in (gcc_cv_as_gstabs_flag): Disable if assembler warns.
......
......@@ -33,10 +33,14 @@ Boston, MA 02111-1307, USA. */
#define ASM_OUTPUT_SOURCE_LINE(file, line, counter) \
{ static tree last_function_decl = NULL; \
if (current_function_decl == last_function_decl) \
{ \
rtx func = DECL_RTL (current_function_decl); \
const char *name = XSTR (XEXP (func, 0), 0); \
fprintf (file, "\t.stabn 68,0,%d,L$M%d-%s\nL$M%d:\n", \
line, counter, \
XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0) + 1, \
(* targetm.strip_name_encoding) (name), \
counter); \
} \
else \
fprintf (file, "\t.stabn 68,0,%d,0\n", line); \
last_function_decl = current_function_decl; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment