* Makefile.in: Allow previous patch to work in a 64 bit environment.

This commit is contained in:
Corinna Vinschen 2005-08-07 09:21:09 +00:00
parent 45a2f09e55
commit 1e0cb9ee0a
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-08-06 Corinna Vinschen <corinna@vinschen.de>
* Makefile.in: Allow previous patch to work in a 64 bit environment.
2005-08-06 Christopher Faylor <cgf@timesys.com>
* Makefile.in: Warn when end of cygheap is not on 64k boundary.

View File

@ -372,7 +372,7 @@ $(TEST_DLL_NAME): $(LDSCRIPT) $(DLL_OFILES) $(DLL_IMPORTS) $(LIBSERVER) $(LIBC)
-e $(DLL_ENTRY) $(DEF_FILE) $(DLL_OFILES) version.o winver.o \
$(MALLOC_OBJ) $(LIBSERVER) $(LIBM) $(LIBC) \
-lgcc $(DLL_IMPORTS)
@$(NM) $@ | perl -Minteger -n -e '/^(61[0-9a-f]+) A __cygheap_end/ and do {$$cygheap_end = $$1; exit;};\
@$(NM) $@ | perl -Minteger -n -e '/^((0{8})?61[0-9a-f]+) A __cygheap_end/ and do {$$cygheap_end = $$1; exit;};\
END { \
die "ERROR: _cygheap_end not found in $@\n" unless defined($$cygheap_end); \
die "ERROR: _cygheap_end is not on a 64k boundary (0x$$cygheap_end)!\n" if (hex($$cygheap_end) & 0xffff);\