This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Minor cleanup to pa-linux.h


This is a minor clean up.  PREFERRED_DEBUGGING_TYPE is defined to DWARF2_DEBUG
in elfos.h.  DWARF2_ASM_LINE_DEBUG_INFO is enabled automatically if configure
detects the assembler feature.  ASM_OUTPUT_DEF only differs from the default
in having a couple of extra and unnecessary tabs.

Applied to main.  Tested on hppa-unknown-linux-gnu with no regressions.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2002-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>

	* pa-linux.h (PREFERRED_DEBUGGING_TYPE, DWARF2_ASM_LINE_DEBUG_INFO,
	ASM_OUTPUT_DEF): Delete.

--- pa-linux.h.orig	2002-11-02 19:54:43.000000000 -0800
+++ pa-linux.h	2002-11-07 06:54:36.000000000 -0800
@@ -18,10 +18,6 @@ along with GNU CC; see the file COPYING.
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
-/* Use DWARF2 debugging info and unwind.  */
-#undef PREFERRED_DEBUGGING_TYPE
-#define PREFERRED_DEBUGGING_TYPE DWARF2_DEBUG
-#define DWARF2_ASM_LINE_DEBUG_INFO 1
 
 /* A C expression whose value is RTL representing the location of the
    incoming return address at the beginning of any function, before the
@@ -135,18 +131,6 @@ Boston, MA 02111-1307, USA.  */
     }								\
    while (0)
 
-/* Output a definition */
-#define ASM_OUTPUT_DEF(FILE,LABEL1,LABEL2) \
-  do								\
-    {								\
-      fprintf ((FILE), "\t%s\t", SET_ASM_OP);			\
-      assemble_name (FILE, LABEL1);				\
-      fprintf (FILE, ",");					\
-      assemble_name (FILE, LABEL2);				\
-      fprintf (FILE, "\n");					\
-    }								\
-  while (0)
-
 /* We want local labels to start with period if made with asm_fprintf.  */
 #undef LOCAL_LABEL_PREFIX
 #define LOCAL_LABEL_PREFIX "."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]