summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2017-11-10 01:17:26 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2017-11-10 01:17:26 +0000
commita264cb726bfb051bf012cd234c33966cb5ed3828 (patch)
tree460de11631264fe614b014992813a778fcb1d35b /libexec
parentc3faeef12ca186a33f97e49b402470e9ea594230 (diff)
downloadsrc-test2-a264cb726bfb051bf012cd234c33966cb5ed3828.tar.gz
src-test2-a264cb726bfb051bf012cd234c33966cb5ed3828.zip
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/mips/rtld_start.S8
1 files changed, 6 insertions, 2 deletions
diff --git a/libexec/rtld-elf/mips/rtld_start.S b/libexec/rtld-elf/mips/rtld_start.S
index fc5e0f80d1fe..10e2e571bbc9 100644
--- a/libexec/rtld-elf/mips/rtld_start.S
+++ b/libexec/rtld-elf/mips/rtld_start.S
@@ -32,6 +32,8 @@
#include <machine/asm.h>
+ .cfi_sections .debug_frame
+
.globl _C_LABEL(_rtld_relocate_nonplt_self)
.globl _C_LABEL(_rtld)
@@ -107,6 +109,7 @@ END(rtld_start)
_rtld_bind_start:
.frame sp, XCALLFRAME_SIZ, $15
.cfi_startproc simple
+ .cfi_def_cfa sp, 0
.cfi_register ra, $15
move v1, gp /* save old GP */
#if defined(__mips_o32) || defined(__mips_o64)
@@ -114,7 +117,7 @@ _rtld_bind_start:
#endif
SETUP_GP
PTR_SUBU sp, XCALLFRAME_SIZ /* save arguments and sp value in stack */
- .cfi_def_cfa sp, XCALLFRAME_SIZ
+ .cfi_def_cfa_offset XCALLFRAME_SIZ
SETUP_GP64(XCALLFRAME_GP, _rtld_bind_start)
SAVE_GP(XCALLFRAME_GP)
#if defined(__mips_n32) || defined(__mips_n64)
@@ -200,6 +203,7 @@ END(_rtld_bind_start)
_rtld_pltbind_start:
.frame sp, XCALLFRAME_SIZ, $15
.cfi_startproc simple
+ .cfi_def_cfa sp, 0
.cfi_register ra, $15
#if defined(__mips_o32)
move v1, gp /* save pointer to .got.plt */
@@ -211,7 +215,7 @@ _rtld_pltbind_start:
#endif
SETUP_GP
PTR_SUBU sp, XCALLFRAME_SIZ /* save arguments and sp value in stack */
- .cfi_def_cfa sp, XCALLFRAME_SIZ
+ .cfi_def_cfa_offset XCALLFRAME_SIZ
SETUP_GP64(XCALLFRAME_GP, _rtld_pltbind_start)
SAVE_GP(XCALLFRAME_GP)
#if defined(__mips_n32) || defined(__mips_n64)