On 04/10/2010 12:26 AM, Stefan Weil wrote:
A 32 bit cross compilation of x86_64-linux-user raises this error:
                      } else {
  #if TARGET_ABI_BITS<= L1_MAP_ADDR_SPACE_BITS
                          endaddr = ~0ul;
+#elif HOST_LONG_BITS<= L1_MAP_ADDR_SPACE_BITS
+                        endaddr = ULONG_MAX;
  #else
                          endaddr = ((abi_ulong)1<<  L1_MAP_ADDR_SPACE_BITS) - 
1;
  #endif

You ought to merge those two ifs.  I.e.


#if TARGET_ABI_BITS <= L1_MAP_ADDR_SPACE_BITS \
    || HOST_LONG_BITS<= L1_MAP_ADDR_SPACE_BITS


r~


Reply via email to