News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

c++ imagerel 64 bits

Started by TouEnMasm, September 07, 2015, 06:26:12 PM

Previous topic - Next topic

TouEnMasm

the c++ /FA generate in 64 bits imagerel who couldn't be compile without modifies (label Far):
Quote
$pdata$_vsprintf_s_l DD imagerel $LN4
   DD   imagerel $LN4+99
   DD   imagerel $unwind$_vsprintf_s_l
pdata   ENDS
...........................
$LN4:           ; <<<<<<<<<<<<<<<<<<<<<<<<<<<<<    change : by  LABEL FAR
   mov   QWORD PTR [rsp+8], rbx
   mov   QWORD PTR [rsp+16], rbp
   mov   QWORD PTR [rsp+24], rsi
I am not sure of FAR,link emit warning "different type of .rdata" but it's work

Fa is a musical note to play with CL

TouEnMasm

later,
put in comment work also with uasm

comment µ
; COMDAT pdata
pdata SEGMENT
$pdata$??_H@YAXPEAX_K1P6APEAX0@Z@Z DD imagerel $LN5
DD imagerel $LN5+102
DD imagerel $unwind$??_H@YAXPEAX_K1P6APEAX0@Z@Z
pdata ENDS
//////////++++++++++++
µ

Fa is a musical note to play with CL