Re: Mach-O Support for imageSize in NtHeader
"Pierre d'Herbemont" <stegefin(a)free.fr> writes:
Here is my second try for a replacement of the _end symbol. I think that since there is no support of it we need a kind of emulation function, which I thought should be located in the wine_port lib. So I add a mach-o.c port file, with the needed function. But should it be done this way?
No, the static char _end[] thing should be enough, you don't have to store anything in there (which won't do what you want anyway). The only thing that matters is the address of the _end symbol. -- Alexandre Julliard julliard(a)winehq.com
On 24 nov. 03, at 21:11, Alexandre Julliard wrote:
"Pierre d'Herbemont" <stegefin(a)free.fr> writes:
Here is my second try for a replacement of the _end symbol. I think that since there is no support of it we need a kind of emulation function, which I thought should be located in the wine_port lib. So I add a mach-o.c port file, with the needed function. But should it be done this way?
No, the static char _end[] thing should be enough, you don't have to store anything in there (which won't do what you want anyway). The only thing that matters is the address of the _end symbol.
Ok, it seems that I was totally mistaken :( Sorry about that. Thanks, Pierre
participants (2)
-
Alexandre Julliard -
Pierre d'Herbemont