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]

mn10300 dwarf2 fixes



FYI, I installed this patch:


        * mn10200.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.
        * mn10300.h (ASM_OUTPUT_DWARF2_ADDR_CONST): Define.

Index: mn10300/mn10300.h
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/mn10300/mn10300.h,v
retrieving revision 1.47.2.3
diff -c -3 -p -r1.47.2.3 mn10300.h
*** mn10300.h	1998/08/26 18:57:30	1.47.2.3
--- mn10300.h	1998/09/16 06:03:28
*************** do { char dstr[30];					\
*** 1093,1098 ****
--- 1093,1102 ----
      + (frame_pointer_needed \
         ? 0 : -initial_offset (ARG_POINTER_REGNUM, STACK_POINTER_REGNUM)))
  
+ /* We need to prepend underscores.  */
+ #define ASM_OUTPUT_DWARF2_ADDR_CONST(FILE,ADDR) \
+   fprintf ((FILE), "\t%s\t_%s", UNALIGNED_WORD_ASM_OP, (ADDR))
+ 
  /* Define to use software floating point emulator for REAL_ARITHMETIC and
     decimal <-> binary conversion. */
  #define REAL_ARITHMETIC
Index: mn10200/mn10200.h
===================================================================
RCS file: /cvs/cvsfiles/devo/gcc/config/mn10200/mn10200.h,v
retrieving revision 1.46
diff -c -3 -p -r1.46 mn10200.h
*** mn10200.h	1998/07/07 21:37:31	1.46
--- mn10200.h	1998/09/16 06:03:30
*************** do { char dstr[30];					\
*** 983,988 ****
--- 983,992 ----
    ((GET_CODE (X) == PLUS ? OFFSET : 0) \
      + (frame_pointer_needed ? 0 : -total_frame_size ()))
  
+ /* We need to prepend underscores.  */
+ #define ASM_OUTPUT_DWARF2_ADDR_CONST(FILE,ADDR) \
+   fprintf ((FILE), "\t%s\t_%s", UNALIGNED_WORD_ASM_OP, (ADDR))
+   
  /* Define to use software floating point emulator for REAL_ARITHMETIC and
     decimal <-> binary conversion. */
  #define REAL_ARITHMETIC


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