qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] current cvs broken on ppc


From: Jens Axboe
Subject: [Qemu-devel] current cvs broken on ppc
Date: Tue, 27 May 2003 21:33:15 +0200

Hi,

./dyngen -o op-i386.h op-i386.o
dyngen: could not find .sdata section
make: *** [op-i386.h] Error 1

objdump of io-i386.o reveals that there is no .sdata, .data is there
though. I can see that dyngen looks for sdata only on ppc.

Another problem is what appears to be a misplace #endif in main.c,
causing __init_array_start[] to be undefined at the final link of qemu.

Index: main.c
===================================================================
RCS file: /cvsroot/qemu/qemu/main.c,v
retrieving revision 1.27
diff -u -r1.27 main.c
--- main.c      13 May 2003 00:24:37 -0000      1.27
+++ main.c      27 May 2003 19:32:58 -0000
@@ -38,6 +38,7 @@
 /* Force usage of an ELF interpreter even if it is an ELF shared
    object ! */
 const char interp[] __attribute__((section(".interp"))) = "/lib/ld-linux.so.2";
+#endif
 
 /* for recent libc, we add these dummies symbol which are not declared
    when generating a linked object (bug in ld ?) */
@@ -46,8 +47,6 @@
 long __init_array_end[0];
 long __fini_array_start[0];
 long __fini_array_end[0];
-#endif
-
 #endif
 
 /* XXX: on x86 MAP_GROWSDOWN only works if ESP <= address + 32, so

-- 
Jens Axboe





reply via email to

[Prev in Thread] Current Thread [Next in Thread]