linux64.h (DBX_OUTPUT_BRAC): Treat function name passed as NAME as if it were label at start of function code.

* config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Treat function name
	passed as NAME as if it were label at start of function code.

From-SVN: r104245
This commit is contained in:
Alan Modra 2005-09-13 23:29:31 +00:00 committed by Alan Modra
parent 9cb5fdd062
commit 007544681e
2 changed files with 17 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2005-09-14 Alan Modra <amodra@bigpond.net.au>
* config/rs6000/linux64.h (DBX_OUTPUT_BRAC): Treat function name
passed as NAME as if it were label at start of function code.
2005-09-13 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.md (*movv4sf_i): Add general register cases to

View File

@ -494,10 +494,19 @@ while (0)
{ \
const char *s; \
dbxout_begin_stabn (BRAC); \
assemble_name (FILE, NAME); \
putc ('-', FILE); \
s = XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0); \
rs6000_output_function_entry (FILE, s); \
/* dbxout_block passes this macro the function name as NAME, \
assuming that it is the function code start label. In our \
case, the function name is the OPD entry. dbxout_block is \
broken, hack around it here. */ \
if (NAME == s) \
putc ('0', FILE); \
else \
{ \
assemble_name (FILE, NAME); \
putc ('-', FILE); \
rs6000_output_function_entry (FILE, s); \
} \
putc ('\n', FILE); \
} \
while (0)