public inbox for newlib@sourceware.org
 help / color / mirror / Atom feed
* Re: [PATCH v1 1/4] Alignment libgloss/arm and newlib/libc/sys/arm: reflect commit 9b11672
@ 2019-08-02 15:11 Alexander Fedotov
  0 siblings, 0 replies; 3+ messages in thread
From: Alexander Fedotov @ 2019-08-02 15:11 UTC (permalink / raw)
  To: vinschen; +Cc: Newlib

Done. See new thread there https://sourceware.org/ml/newlib/2019/msg00410.html

Best regards,
Alex

>Alexander,
>
>can you please create better commit messages?  A short, concise subject
>line with not more than ~70 chars, plus a commit message body describing
>your change in a few more words.  What do you mean by "reflecting" a
>commit SHA-1?  That's not at all helpful for the future reader.
>
>
>Thanks,
>Corinna
>
>--
>Corinna Vinschen
>Cygwin Maintainer
>Red Hat

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1 1/4] Alignment libgloss/arm and newlib/libc/sys/arm: reflect commit 9b11672
  2019-08-01 10:13 Alexander Fedotov
@ 2019-08-01 10:55 ` Corinna Vinschen
  0 siblings, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2019-08-01 10:55 UTC (permalink / raw)
  To: newlib

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

Alexander,

can you please create better commit messages?  A short, concise subject
line with not more than ~70 chars, plus a commit message body describing
your change in a few more words.  What do you mean by "reflecting" a
commit SHA-1?  That's not at all helpful for the future reader.


Thanks,
Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v1 1/4] Alignment libgloss/arm and newlib/libc/sys/arm: reflect commit 9b11672
@ 2019-08-01 10:13 Alexander Fedotov
  2019-08-01 10:55 ` Corinna Vinschen
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Fedotov @ 2019-08-01 10:13 UTC (permalink / raw)
  To: newlib, Richard.Earnshaw; +Cc: Alexander Fedotov

---
 newlib/libc/sys/arm/crt0.S | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/newlib/libc/sys/arm/crt0.S b/newlib/libc/sys/arm/crt0.S
index 9c262428d..40bbc3d69 100644
--- a/newlib/libc/sys/arm/crt0.S
+++ b/newlib/libc/sys/arm/crt0.S
@@ -393,13 +393,14 @@ __change_mode:
 	movs	r1, r0
 #else
 	movs	r0, #AngelSWI_Reason_GetCmdLine
-	adr	r1, .LC30	/* Space for command line.  */
+	ldr	r1, .LC30	/* Space for command line.  */
 #ifdef THUMB_VXM
 	bkpt	AngelSWI
 #else
  	AngelSWIAsm	AngelSWI
 #endif
 	ldr	r1, .LC30
+	ldr	r1, [r1]
 #endif
 	/*  Parse string at r1.  */
 	movs	r0, #0		/* Count of arguments so far.  */
@@ -586,8 +587,7 @@ change_back:
 #endif
 #ifdef ARM_RDI_MONITOR
 .LC30:
-	.word	CommandLine
-	.word	255
+	.word	AngelSWIArgs
 .LC31:
 	.word	__end__
 
@@ -600,6 +600,9 @@ HeapLimit:	.word	0
 __stack_base__:	.word	0
 StackLimit:	.word	0
 CommandLine:	.space	256,0	/*  Maximum length of 255 chars handled.  */
+AngelSWIArgs:
+	.word	CommandLine
+	.word	255
 #endif
 	
 #ifdef __pe__
-- 
2.17.1

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-08-02 15:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-02 15:11 [PATCH v1 1/4] Alignment libgloss/arm and newlib/libc/sys/arm: reflect commit 9b11672 Alexander Fedotov
  -- strict thread matches above, loose matches on Subject: below --
2019-08-01 10:13 Alexander Fedotov
2019-08-01 10:55 ` Corinna Vinschen

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).