h8 bugfix

Jeffrey A Law law@cygnus.com
Wed Jan 6 22:50:00 GMT 1999


Fixes a minor problem with the tiny data area support.

        * h8300.h (ASM_OUTPUT_LABELREF): Define.

Index: h8300.h
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/h8300/h8300.h,v
retrieving revision 1.11
diff -c -3 -p -r1.11 h8300.h
*** h8300.h	1998/12/16 21:02:52	1.11
--- h8300.h	1999/01/07 06:39:44
*************** readonly_data() 						\
*** 1186,1191 ****
--- 1186,1194 ----
  #define ASM_OUTPUT_LABEL(FILE, NAME)	\
    do { assemble_name (FILE, NAME); fputs (":\n", FILE); } while (0)
  
+ #define ASM_OUTPUT_LABELREF(FILE,NAME)  \
+   fprintf ((FILE), "%U%s", (NAME) + (TINY_DATA_NAME_P (NAME) ? 1 : 0))
+ 
  #define ASM_OUTPUT_EXTERNAL(FILE, DECL, NAME) 
  
  /* This is how to output a command to make the user-level label named NAME



More information about the Gcc-patches mailing list