public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Patch from Richard Earnshaw <Richard.Earnshaw@arm.com>
@ 2018-08-01 18:03 Jeff Johnston
  0 siblings, 0 replies; only message in thread
From: Jeff Johnston @ 2018-08-01 18:03 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=2ec54fb1d152f7b9bed5224756e552cb7f9609c2

commit 2ec54fb1d152f7b9bed5224756e552cb7f9609c2
Author: Jeff Johnston <jjohnstn@redhat.com>
Date:   Wed Aug 1 13:58:10 2018 -0400

    Patch from Richard Earnshaw <Richard.Earnshaw@arm.com>
    
    * aarch64/cpu-init/rdimon-aem-el3.S (cpu_init_hook): Simplify
      entry/exit sequences.  Add CFI unwind rules.

Diff:
---
 libgloss/aarch64/cpu-init/rdimon-aem-el3.S | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/libgloss/aarch64/cpu-init/rdimon-aem-el3.S b/libgloss/aarch64/cpu-init/rdimon-aem-el3.S
index 41db8f9..9edbccd 100644
--- a/libgloss/aarch64/cpu-init/rdimon-aem-el3.S
+++ b/libgloss/aarch64/cpu-init/rdimon-aem-el3.S
@@ -157,12 +157,16 @@ ttb:
 	.align 2
 	.global	FUNCTION (_cpu_init_hook)
 	.type	FUNCTION (_cpu_init_hook), %function
+	.cfi_sections	.debug_frame
 FUNCTION (_cpu_init_hook):
-	sub	sp, sp, #16
-	str	x30, [sp, xzr]
+	.cfi_startproc
+	str	x30, [sp, -16]!
+	.cfi_def_cfa_offset 16
+	.cfi_offset 30, -16
 	bl	_init_vectors
 	bl	_flat_map
-	ldr	x30, [sp, xzr]
-	add	sp, sp, #16
+	ldr	x30, [sp], 16
+	.cfi_restore 30
 	ret
+	.cfi_endproc
 	.size	FUNCTION (_cpu_init_hook), .-FUNCTION (_cpu_init_hook)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-08-01 18:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-01 18:03 [newlib-cygwin] Patch from Richard Earnshaw <Richard.Earnshaw@arm.com> Jeff Johnston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).