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/lshift.S | |
| parent | 1a502f5260f1513b9ba38b68d8087e48bc0ede0c (diff) | |
| download | 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/lshift.S')
| -rw-r--r-- | sysdeps/powerpc/powerpc64/lshift.S | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/sysdeps/powerpc/powerpc64/lshift.S b/sysdeps/powerpc/powerpc64/lshift.S index 8b6396ee6c..855d6f2993 100644 --- a/sysdeps/powerpc/powerpc64/lshift.S +++ b/sysdeps/powerpc/powerpc64/lshift.S @@ -26,11 +26,15 @@ #define TNC r0 #define U0 r30 #define U1 r31 +#define U0SAVE (-16) +#define U1SAVE (-8) #define RETVAL r5 ENTRY_TOCLESS (__mpn_lshift, 5) - std U1, -8(r1) - std U0, -16(r1) + std U1, U1SAVE(r1) + std U0, U0SAVE(r1) + cfi_offset(U1, U1SAVE) + cfi_offset(U0, U0SAVE) subfic TNC, CNT, 64 sldi r7, N, RP add UP, UP, r7 @@ -170,8 +174,8 @@ L(cj3): or r10, r12, r7 L(cj2): std r10, -32(RP) std r8, -40(RP) -L(ret): ld U1, -8(r1) - ld U0, -16(r1) +L(ret): ld U1, U1SAVE(r1) + ld U0, U0SAVE(r1) mr RP, RETVAL blr END(__mpn_lshift) |
