[PATCH] loader: On Mac OS, don't use external symbols for the DOS and shared heap segments.

Alexandre Julliard julliard at winehq.org
Mon Jun 11 14:19:29 CDT 2012

Charles Davis <cdavis at mymail.mines.edu> writes:

> My first idea was to just add some '.globl' directives in the code. But
> then I asked myself: why are we using an indirect symbol at all? Why are
> we treating this like an external symbol when it clearly isn't? So now,
> the arrays are declared static, and their owning section is explicitly
> declared to the C compiler. While compile times have gone up, at least
> the compiled loader executable actually works.

This core dumps instantly when build with gcc on Mac OS 10.5, and
doesn't even compile on 10.6.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list