aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-12-17 01:03:08 +0000
committerRoland McGrath <roland@gnu.org>2001-12-17 01:03:08 +0000
commitca18306b75e87b4ee356a6b47a3695c6b23f48e9 (patch)
treec0def3db3b77cf267bcfae29132609a5fc125de0 /sysdeps
parenta51751c26c0e0c135682f67db617a0a0f426aa67 (diff)
downloadglibc-ca18306b75e87b4ee356a6b47a3695c6b23f48e9.zip
glibc-ca18306b75e87b4ee356a6b47a3695c6b23f48e9.tar.gz
glibc-ca18306b75e87b4ee356a6b47a3695c6b23f48e9.tar.bz2
* hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add `break' after
`default:' to silence new GCC warning. Rewrite cast of lvalue to silence new GCC warning. * sysdeps/mach/hurd/i386/init-first.c: Avoid multi-line strings in asm.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/mach/hurd/i386/init-first.c16
1 files changed, 6 insertions, 10 deletions
diff --git a/sysdeps/mach/hurd/i386/init-first.c b/sysdeps/mach/hurd/i386/init-first.c
index a50e418..51892d5 100644
--- a/sysdeps/mach/hurd/i386/init-first.c
+++ b/sysdeps/mach/hurd/i386/init-first.c
@@ -247,22 +247,18 @@ init (int *data)
we will run on, and jmp to the run-time address of `init1'; when it
returns, it will run the user code with the argument data at the
top of the stack. */
-asm ("
- switch_stacks:
- movl %eax, %esp
- jmp *%ecx
-");
+asm ("switch_stacks:\n"
+ " movl %eax, %esp\n"
+ " jmp *%ecx");
/* As in the stack-switching case, at this point our stack is unwound
and callers' registers restored, and only %ecx and %eax communicate
values from the lines above. In this case we have stashed in %eax
the user code return address. Push it on the top of the stack so
it acts as init1's return address, and then jump there. */
-asm ("
- call_init1:
- push %eax
- jmp *%ecx
-");
+asm ("call_init1:\n"
+ " push %eax\n"
+ " jmp *%ecx\n");
/* Do the first essential initializations that must precede all else. */