Make assembler comments work on Darwin
Stan Shebs
shebs@apple.com
Tue Oct 16 14:54:00 GMT 2001
A small patch to get -dA to work on Darwin systems. Bootstraps etc,
and more importantly you can use -dA now... :-) Committed to the
mainline.
Stan
2001-10-16 Stan Shebs <shebs@apple.com>
* config/rs6000/darwin.h (ASM_COMMENT_START): Define.
Index: config/rs6000/darwin.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/darwin.h,v
retrieving revision 1.7
diff -c -3 -p -r1.7 darwin.h
*** darwin.h 2001/10/02 03:36:44 1.7
--- darwin.h 2001/10/16 20:12:28
*************** Boston, MA 02111-1307, USA. */
*** 128,133 ****
--- 128,138 ----
#define ASM_OUTPUT_SKIP(FILE,SIZE) \
fprintf (FILE, "\t.space %d\n", SIZE)
+ /* Override the standard rs6000 definition. */
+
+ #undef ASM_COMMENT_START
+ #define ASM_COMMENT_START ";"
+
/* FP save and restore routines. */
#define SAVE_FP_PREFIX "._savef"
#define SAVE_FP_SUFFIX ""
More information about the Gcc-patches
mailing list