mirror of
https://git.freebsd.org/ports.git
synced 2025-07-08 21:09:17 -04:00
Changes: * Enable building on amd64 (including execution support) * Add support for clang on amd64 * No support for wow64 at this time * Update pkg-plist for 32-/64-bit split * Update pkg-plist for missing files reported by poudriere PR: 197798 Approved by: gerald@
24 lines
942 B
Text
24 lines
942 B
Text
commit 595a3ccfe8aa02ccc287f9a4b23a3f177ae220b9
|
|
Author: David Naylor <naylor.b.david@gmail.com>
|
|
Date: Mon Feb 2 22:10:55 2015 +0200
|
|
|
|
kernel32: force 4096 byte page alignment.
|
|
|
|
FreeBSD prefers to use a 0x200000 (super) page alignment however this causes
|
|
the image base to be displaced from the requested 0x7b800000. Forcing a
|
|
smaller page size ensures FreeBSD can place the image startin at 0x7b800000.
|
|
|
|
diff --git a/dlls/kernel32/Makefile.in b/dlls/kernel32/Makefile.in
|
|
index c09771d..a006c2c 100644
|
|
--- dlls/kernel32/Makefile.in
|
|
+++ dlls/kernel32/Makefile.in
|
|
@@ -3,7 +3,8 @@ MODULE = kernel32.dll
|
|
IMPORTLIB = kernel32
|
|
IMPORTS = winecrt0 ntdll
|
|
EXTRALIBS = $(COREFOUNDATION_LIBS) $(POLL_LIBS)
|
|
-EXTRADLLFLAGS = -nodefaultlibs -Wb,-F,KERNEL32.dll -Wl,--image-base,0x7b800000
|
|
+EXTRADLLFLAGS = -nodefaultlibs -Wb,-F,KERNEL32.dll -Wl,--image-base,0x7b800000 \
|
|
+ -Wl,-z,max-page-size=0x1000
|
|
|
|
C_SRCS = \
|
|
actctx.c \
|