diff options
author | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-13 23:29:58 +0000 |
---|---|---|
committer | amodra <amodra@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-09-13 23:29:58 +0000 |
commit | 12b8043559314669b6085bfc1bee4bde79d186f5 (patch) | |
tree | 56d6eaae71719c920376e0802c6f13e372416560 /gcc/config/rs6000 | |
parent | c20062564937da13e1c1400788a20a9445e32f90 (diff) | |
download | gcc-12b8043559314669b6085bfc1bee4bde79d186f5.tar.gz |
* doc/tm.texi (DBX_OUTPUT_NFUN): Describe.
* dbxout.c (dbxout_function_end): Use DBX_OUTPUT_NFUN.
* config/rs6000/linux64.h (DBX_OUTPUT_NFUN): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57122 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r-- | gcc/config/rs6000/linux64.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/config/rs6000/linux64.h b/gcc/config/rs6000/linux64.h index 6e1b90463ca..8f96043706a 100644 --- a/gcc/config/rs6000/linux64.h +++ b/gcc/config/rs6000/linux64.h @@ -354,6 +354,18 @@ while (0) #define DBX_OUTPUT_LBRAC(FILE, NAME) DBX_OUTPUT_BRAC (FILE, NAME, N_LBRAC) #define DBX_OUTPUT_RBRAC(FILE, NAME) DBX_OUTPUT_BRAC (FILE, NAME, N_RBRAC) +/* Another case where we want the dot name. */ +#define DBX_OUTPUT_NFUN(FILE, LSCOPE, DECL) \ + do \ + { \ + fprintf (FILE, "%s\"\",%d,0,0,", ASM_STABS_OP, N_FUN); \ + assemble_name (FILE, LSCOPE); \ + fputs ("-.", FILE); \ + assemble_name (FILE, XSTR (XEXP (DECL_RTL (DECL), 0), 0)); \ + putc ('\n', FILE); \ + } \ + while (0) + /* Override sysv4.h as these are ABI_V4 only. */ #undef ASM_OUTPUT_REG_PUSH #undef ASM_OUTPUT_REG_POP |