dbxout.c (96280) | dbxout.c (103453) |
---|---|
1/* Output dbx-format symbol table information from GNU compiler. 2 Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3 1999, 2000, 2001 Free Software Foundation, Inc. 4 5This file is part of GCC. 6 7GCC is free software; you can redistribute it and/or modify it under 8the terms of the GNU General Public License as published by the Free --- 5 unchanged lines hidden (view full) --- 14FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 15for more details. 16 17You should have received a copy of the GNU General Public License 18along with GCC; see the file COPYING. If not, write to the Free 19Software Foundation, 59 Temple Place - Suite 330, Boston, MA 2002111-1307, USA. */ 21 | 1/* Output dbx-format symbol table information from GNU compiler. 2 Copyright (C) 1987, 1988, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3 1999, 2000, 2001 Free Software Foundation, Inc. 4 5This file is part of GCC. 6 7GCC is free software; you can redistribute it and/or modify it under 8the terms of the GNU General Public License as published by the Free --- 5 unchanged lines hidden (view full) --- 14FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 15for more details. 16 17You should have received a copy of the GNU General Public License 18along with GCC; see the file COPYING. If not, write to the Free 19Software Foundation, 59 Temple Place - Suite 330, Boston, MA 2002111-1307, USA. */ 21 |
22/* $FreeBSD: head/contrib/gcc/dbxout.c 96280 2002-05-09 21:24:44Z obrien $ */ | 22/* $FreeBSD: head/contrib/gcc/dbxout.c 103453 2002-09-17 04:14:38Z kan $ */ |
23 24 25/* Output dbx-format symbol table data. 26 This consists of many symbol table entries, each of them 27 a .stabs assembler pseudo-op with four operands: 28 a "name" which is really a description of one symbol and its type, 29 a "code", which is a symbol defined in stab.h whose name starts with N_, 30 an unused operand always 0, --- 362 unchanged lines hidden (view full) --- 393 the system doesn't insert underscores in front of user generated 394 labels. */ 395 ASM_GENERATE_INTERNAL_LABEL (lscope_label_name, "Lscope", scope_labelno); 396 ASM_OUTPUT_INTERNAL_LABEL (asmfile, "Lscope", scope_labelno); 397 scope_labelno++; 398 399 /* By convention, GCC will mark the end of a function with an N_FUN 400 symbol and an empty string. */ | 23 24 25/* Output dbx-format symbol table data. 26 This consists of many symbol table entries, each of them 27 a .stabs assembler pseudo-op with four operands: 28 a "name" which is really a description of one symbol and its type, 29 a "code", which is a symbol defined in stab.h whose name starts with N_, 30 an unused operand always 0, --- 362 unchanged lines hidden (view full) --- 393 the system doesn't insert underscores in front of user generated 394 labels. */ 395 ASM_GENERATE_INTERNAL_LABEL (lscope_label_name, "Lscope", scope_labelno); 396 ASM_OUTPUT_INTERNAL_LABEL (asmfile, "Lscope", scope_labelno); 397 scope_labelno++; 398 399 /* By convention, GCC will mark the end of a function with an N_FUN 400 symbol and an empty string. */ |
401#ifdef DBX_OUTPUT_NFUN 402 DBX_OUTPUT_NFUN (asmfile, lscope_label_name, current_function_decl); 403#else |
|
401 fprintf (asmfile, "%s\"\",%d,0,0,", ASM_STABS_OP, N_FUN); 402 assemble_name (asmfile, lscope_label_name); 403 putc ('-', asmfile); 404 assemble_name (asmfile, XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0)); 405 fprintf (asmfile, "\n"); | 404 fprintf (asmfile, "%s\"\",%d,0,0,", ASM_STABS_OP, N_FUN); 405 assemble_name (asmfile, lscope_label_name); 406 putc ('-', asmfile); 407 assemble_name (asmfile, XSTR (XEXP (DECL_RTL (current_function_decl), 0), 0)); 408 fprintf (asmfile, "\n"); |
409#endif |
|
406} 407#endif /* DBX_DEBUGGING_INFO */ 408 409/* At the beginning of compilation, start writing the symbol table. 410 Initialize `typevec' and output the standard data types of C. */ 411 412static void 413dbxout_init (input_file_name) --- 2498 unchanged lines hidden --- | 410} 411#endif /* DBX_DEBUGGING_INFO */ 412 413/* At the beginning of compilation, start writing the symbol table. 414 Initialize `typevec' and output the standard data types of C. */ 415 416static void 417dbxout_init (input_file_name) --- 2498 unchanged lines hidden --- |