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]

[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.


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