This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, picochip] disable DOLLAR_IN_LABEL
- From: Hariharan <hariharans at picochip dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Fri, 08 May 2009 08:18:37 +0100
- Subject: [PATCH, picochip] disable DOLLAR_IN_LABEL
Hi,
I have disabled dollar in label for picochip. I also corrected another
minor bug (label defined twice in handwritten assembly). Committed to
mainline as r147248.
Thanks
Hari
* config/picochip/picochip.h (NO_DOLLAR_IN_LABEL): Added.
* config/picochip/libgccExtras/divmod15.asm : Removed redefiniton.
Index: gcc/config/picochip/picochip.h
===================================================================
--- gcc/config/picochip/picochip.h (revision 147248)
+++ gcc/config/picochip/picochip.h (revision 147244)
@@ -729,7 +729,6 @@ enum picochip_builtins
PICOCHIP_BUILTIN_HALT
};
-#define NO_DOLLAR_IN_LABEL 1
#define NO_DOT_IN_LABEL 1
/* The assembler does support LEB128, despite the auto-configure test
Index: gcc/config/picochip/libgccExtras/divmod15.asm
===================================================================
--- gcc/config/picochip/libgccExtras/divmod15.asm (revision 147248)
+++ gcc/config/picochip/libgccExtras/divmod15.asm (revision 147244)
@@ -33,6 +33,8 @@ _picoMark_FUNCTION_BEGIN=
// picoChip Function Prologue : &__divmod15 = 0 bytes
+__divmod15:
+
// The picoChip instruction set has a divstep instruction which
// is used to perform one iteration of a binary division algorithm.
// The instruction allows 16-bit signed division to be implemented.