diff options
author | Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> | 2018-12-12 10:41:52 -0200 |
---|---|---|
committer | Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> | 2018-12-12 10:56:51 -0200 |
commit | 1d880d4a9bf7608c2cd33bbe954ce6995f79121a (patch) | |
tree | 30ee9a9cd3a51541e744d347da6e894112462328 /sysdeps/powerpc/powerpc64/mul_1.S | |
parent | 1a502f5260f1513b9ba38b68d8087e48bc0ede0c (diff) | |
download | glibc-1d880d4a9bf7608c2cd33bbe954ce6995f79121a.tar.gz glibc-1d880d4a9bf7608c2cd33bbe954ce6995f79121a.tar.xz glibc-1d880d4a9bf7608c2cd33bbe954ce6995f79121a.zip |
powerpc: Add missing CFI register information (bug #23614)
Add CFI information about the offset of registers stored in the stack frame. [BZ #23614] * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for registers saved in the stack frame. * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise. * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise. Signed-off-by: Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com> Reviewed-by: Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
Diffstat (limited to 'sysdeps/powerpc/powerpc64/mul_1.S')
-rw-r--r-- | sysdeps/powerpc/powerpc64/mul_1.S | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/sysdeps/powerpc/powerpc64/mul_1.S b/sysdeps/powerpc/powerpc64/mul_1.S index 953ded8028..cade365258 100644 --- a/sysdeps/powerpc/powerpc64/mul_1.S +++ b/sysdeps/powerpc/powerpc64/mul_1.S @@ -24,9 +24,14 @@ #define N r5 #define VL r6 +#define R26SAVE (-48) +#define R27SAVE (-40) + ENTRY_TOCLESS (__mpn_mul_1, 5) - std r27, -40(r1) - std r26, -48(r1) + std r27, R27SAVE(r1) + std r26, R26SAVE(r1) + cfi_offset(r27, R27SAVE) + cfi_offset(r26, R26SAVE) li r12, 0 ld r26, 0(UP) @@ -129,7 +134,7 @@ L(end): mulld r0, r26, VL std r0, 0(RP) std r7, 8(RP) L(ret): addze RP, r8 - ld r27, -40(r1) - ld r26, -48(r1) + ld r27, R27SAVE(r1) + ld r26, R26SAVE(r1) blr END(__mpn_mul_1) |