Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2007-01-03 19:47:53 +0300
committerJeff Johnston <jjohnstn@redhat.com>2007-01-03 19:47:53 +0300
commit35b4db0f3040b76139e03af1e888cb7d04f197cf (patch)
treea9027cbf8d69cbbf7a8724d5fab0cfe888866f0b /libgloss
parent960725d6ed89259633f2fcecd0c8f01d579a5bd4 (diff)
2007-01-03 Kazu Hirata <kazu@codesourcery.com>
Merge from newlib-csl-20060320-branch: 2006-12-22 Nathan Sidwell <nathan@codesourcery.com> * m68k/cf-crt0.S (__start): Adjust semihosting.
Diffstat (limited to 'libgloss')
-rw-r--r--libgloss/ChangeLog7
-rw-r--r--libgloss/m68k/cf-crt0.S13
2 files changed, 12 insertions, 8 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index 7f02bb7ff..5b5a85f80 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -1,3 +1,10 @@
+2007-01-03 Kazu Hirata <kazu@codesourcery.com>
+
+ Merge from newlib-csl-20060320-branch:
+ 2006-12-22 Nathan Sidwell <nathan@codesourcery.com>
+
+ * m68k/cf-crt0.S (__start): Adjust semihosting.
+
2007-01-02 Kazu Hirata <kazu@codesourcery.com>
Merge from newlib-csl-20060320-branch:
diff --git a/libgloss/m68k/cf-crt0.S b/libgloss/m68k/cf-crt0.S
index 9a73ce19c..51a6aa700 100644
--- a/libgloss/m68k/cf-crt0.S
+++ b/libgloss/m68k/cf-crt0.S
@@ -29,17 +29,14 @@ __start:
#if HOSTED
/* INIT_SIM syscall. Allows changing sp & d1. */
move.l IMM(1),d0
- .align 4
- /* The halt sequence must be 'nop; halt' and aligned to a 4 byte
- boundary. */
+ /* The semihosting sequence is 'nop; halt;sentinel' aligned to
+ a 4 byte boundary. The sentinel is an ill formed instruction
+ (movec %sp,0). The debugger will adjust the pc, so it is never
+ executed. */
+ .balignw 4,0x4e71
nop
halt
-
- /* This sentinel instruction value must be immediately after
- the halt instruction. The debugger will adjust the pc, so
- that it is never executed. This instruction is
- 'movec %sp,0'. */
.long 0x4e7bf000
#endif
move.l d1,sp@-