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]

ARM unspec numbering fix


The patch below renumbers some of the arm UNSPEC constants to avoid conflicts.

Applied to SVN trunk.

Paul

2008-03-10  Paul Brook  <paul@codesourcery.com>

	gcc/
	* config/arm/arm.md (UNSPEC_STACK_ALIGN, UNSPEC_PIC_OFFSET): Renumber
	to avoid conflicts.

Index: gcc/config/arm/arm.md
===================================================================
--- gcc/config/arm/arm.md	(revision 133079)
+++ gcc/config/arm/arm.md	(working copy)
@@ -94,9 +94,9 @@ (define_constants
    (UNSPEC_TLS      20) ; A symbol that has been treated properly for TLS 
usage.
    (UNSPEC_PIC_LABEL 21) ; A label used for PIC access that does not appear 
in the
                          ; instruction stream.
-   (UNSPEC_STACK_ALIGN 20) ; Doubleword aligned stack pointer.  Used to
+   (UNSPEC_STACK_ALIGN 22) ; Doubleword aligned stack pointer.  Used to
 			   ; generate correct unwind information.
-   (UNSPEC_PIC_OFFSET 22) ; A symbolic 12-bit OFFSET that has been treated
+   (UNSPEC_PIC_OFFSET 23) ; A symbolic 12-bit OFFSET that has been treated
 			  ; correctly for PIC usage.
   ]
 )


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