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]

Re: [PATCH, arm] Stack the PIC register for Thumb if PIC is enabled


Hi Adam,

> If you meant -mpic-register=6 together with -mthumb then yes that
> fails even without the patch.  I checked my regression-baseline logs
> and also tried manually with an unpatched cc1.  I think the patch is
> safe. 

Ah, I was hoping that that was the case.  So...

> 2002-07-09  Adam Nemet  <anemet@lnxw.com>
> 
> 	* config/arm/arm.c (thumb_unexpanded_epilogue): Stack the PIC
> 	register.
> 	(thumb_expand_prologue): Likewise.
> 	(thumb_output_function_prologue): Likewise.
> 	* config/arm/arm.h (THUMB_INITIAL_ELIMINATION_OFFSET): Account for
> 	the additional push of the PIC register.

Approved and applied.

Cheers
        Nick



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