dmd.backend.elfobj.Obj_reftodatseg
- multiple declarations
Function Obj_reftodatseg
Refer to address that is in the data segment.
extern(C++) void Obj_reftodatseg
(
int seg,
ulong offset,
ulong val,
uint targetdatum,
int flags
);
Input
seg = where the address is going offset = offset within seg val = displacement from address targetdatum = DATA, CDATA or UDATA, depending where the address is flags = CFoff, CFseg, CFoffset64, CFswitch
Example
int *abc = &def[3]; to allocate storage: Obj_reftodatseg(DATA,offset,3 * (int *).sizeof,UDATA);
Note
For I64 && (flags & CFoffset64) && (flags & CFswitch) targetdatum is a symidx rather than a segment.
Function Obj_reftodatseg
Refer to address that is in the data segment.
extern(C++) void Obj_reftodatseg
(
int seg,
ulong offset,
ulong val,
uint targetdatum,
int flags
);
Input
seg = where the address is going offset = offset within seg val = displacement from address targetdatum = DATA, CDATA or UDATA, depending where the address is flags = CFoff, CFseg, CFoffset64, CFswitch
Example
int *abc = &def[3]; to allocate storage: Obj_reftodatseg(DATA,offset,3 * (int *).sizeof,UDATA);
Note
For I64 && (flags & CFoffset64) && (flags & CFswitch) targetdatum is a symidx rather than a segment.
Function Obj_reftodatseg
Refer to address that is in the data segment.
extern(C++) void Obj_reftodatseg
(
int seg,
ulong offset,
ulong val,
uint targetdatum,
int flags
);
Input
seg = where the address is going offset = offset within seg val = displacement from address targetdatum = DATA, CDATA or UDATA, depending where the address is flags = CFoff, CFseg, CFoffset64, CFswitch
Example
int *abc = &def[3]; to allocate storage: Obj_reftodatseg(DATA,offset,3 * (int *).sizeof,UDATA);
Note
For I64 && (flags & CFoffset64) && (flags & CFswitch) targetdatum is a symidx rather than a segment.
Function Obj_reftodatseg
Refer to address that is in the data segment.
extern(C++) void Obj_reftodatseg
(
int seg,
ulong offset,
ulong val,
uint targetdatum,
int flags
);
Input
seg = where the address is going offset = offset within seg val = displacement from address targetdatum = DATA, CDATA or UDATA, depending where the address is flags = CFoff, CFseg, CFoffset64, CFswitch
Example
int *abc = &def[3]; to allocate storage: Obj_reftodatseg(DATA,offset,3 * (int *).sizeof,UDATA);
Note
For I64 && (flags & CFoffset64) && (flags & CFswitch) targetdatum is a symidx rather than a segment.