Re: [ARM] Fix wrong CFI for VFP registers with -mbig-endian

2013-11-19 Thread Richard Earnshaw
On 15/11/13 11:21, Eric Botcazou wrote: > Hi, > > because the compiler still uses the legacy encodings for the VFP registers in > DWARF, when for example d8 is saved onto the stack, the CFI records a save of > s16. This is more or less correct in little-endian mode, but plain wrong in > big-en

[ARM] Fix wrong CFI for VFP registers with -mbig-endian

2013-11-15 Thread Eric Botcazou
Hi, because the compiler still uses the legacy encodings for the VFP registers in DWARF, when for example d8 is saved onto the stack, the CFI records a save of s16. This is more or less correct in little-endian mode, but plain wrong in big-endian mode where s17 is saved first at that address.