Commit 4304763ba281f805684fb41e7b2cde8b401980df

Authored by bellard
1 parent c1e42a13

misplaced #endif


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@200 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 2 deletions
linux-user/main.c
@@ -38,6 +38,7 @@ static const char *interp_prefix = CONFIG_QEMU_PREFIX; @@ -38,6 +38,7 @@ static const char *interp_prefix = CONFIG_QEMU_PREFIX;
38 /* Force usage of an ELF interpreter even if it is an ELF shared 38 /* Force usage of an ELF interpreter even if it is an ELF shared
39 object ! */ 39 object ! */
40 const char interp[] __attribute__((section(".interp"))) = "/lib/ld-linux.so.2"; 40 const char interp[] __attribute__((section(".interp"))) = "/lib/ld-linux.so.2";
  41 +#endif
41 42
42 /* for recent libc, we add these dummies symbol which are not declared 43 /* for recent libc, we add these dummies symbol which are not declared
43 when generating a linked object (bug in ld ?) */ 44 when generating a linked object (bug in ld ?) */
@@ -48,8 +49,6 @@ long __fini_array_start[0]; @@ -48,8 +49,6 @@ long __fini_array_start[0];
48 long __fini_array_end[0]; 49 long __fini_array_end[0];
49 #endif 50 #endif
50 51
51 -#endif  
52 -  
53 /* XXX: on x86 MAP_GROWSDOWN only works if ESP <= address + 32, so 52 /* XXX: on x86 MAP_GROWSDOWN only works if ESP <= address + 32, so
54 we allocate a bigger stack. Need a better solution, for example 53 we allocate a bigger stack. Need a better solution, for example
55 by remapping the process stack directly at the right place */ 54 by remapping the process stack directly at the right place */