[ros-dev] Re: [ros-cvs] CVS Update: reactos

James Tabor jimtabor at adsl-64-217-116-74.dsl.hstntx.swbell.net
Sun Oct 3 20:47:33 CEST 2004


_stubs.S

i386-mingw32-gcc -c -x assembler-with-cpp -g  -I../../../include -I../../../w32api/include -D__ASM__ 
-D_M_IX86 -c _stubs.S -o _stubs.o
_stubs.S: Assembler messages:
_stubs.S:13: Error: invalid character '_' in mnemonic
_stubs.S:14: Warning: rest of line ignored; first ignored character is `:'
_stubs.S:20: Error: invalid character '_' in mnemonic
_stubs.S:21: Warning: rest of line ignored; first ignored character is `:'
_stubs.S:27: Error: invalid character '_' in mnemonic
_stubs.S:28: Warning: rest of line ignored; first ignored character is `:'
make: *** [_stubs.o] Error 1

James Tabor wrote:
> Hi!
> Casper Hornstrup wrote:
> 
>> Which gcc version do you use? Can you send me your _hooks.c?
>>
>> Casper
>>
>>
> gcc 3.3.1 ../configure --prefix=/usr --target=i386-mingw32 -v and bin 
> 2.15.90.
> 
> Something is wrong with the lf/cr's.
> James
> 
> 
> ------------------------------------------------------------------------
> 
> /* This file is autogenerated. */
> #include <windows.h>
> #include "regtests.h"
> 
> API_DESCRIPTION ExternalDependencies[] =
> {
>   {"ntdll.dll", "RtlAllocateHeap at 12
> ", NULL, NULL},
>   {"ntdll.dll", "RtlFreeHeap at 12
> ", NULL, NULL},
>   {"msvcrt.dll", "printf
> ", NULL, NULL},
> };
> 
> #define ExternalDependencyCount 4
> ULONG MaxExternalDependency = ExternalDependencyCount - 1;
> 
> PVOID STDCALL
> FrameworkGetHook(ULONG index)
> {
>   return FrameworkGetHookInternal(index);
> }
> 
-------------- next part --------------
/* This file is autogenerated. */
passthrough:
  call _FrameworkGetHook at 4
  test %eax, %eax
  je .return
  jmp *%eax
.return:
  /* This will most likely corrupt the stack */
  ret

.globl _RtlAllocateHeap at 12

_RtlAllocateHeap at 12
:
  pushl $0
  jmp passthrough

.globl _RtlFreeHeap at 12

_RtlFreeHeap at 12
:
  pushl $1
  jmp passthrough

.globl _printf

_printf
:
  pushl $2
  jmp passthrough



More information about the Ros-dev mailing list