dmd.backend.elfobj.Obj_getsegment
- multiple declarations
Function Obj_getsegment
Get corresponding seg_data entry for an existing or newly added section.
extern(C++) int Obj_getsegment
(
const(char)* name,
const(char)* suffix,
int type,
int flags,
int align_
);
Input
name = name of section suffix = append to name type = section header type, e.g. SHT_PROGBITS flags = section header flags, e.g. SHF_ALLOC align_ = section alignment
Returns
SegData index of found or newly created section.
Function Obj_getsegment
Get corresponding seg_data entry for an existing or newly added section.
extern(C++) int Obj_getsegment
(
const(char)* name,
const(char)* suffix,
int type,
int flags,
int align_
);
Input
name = name of section suffix = append to name type = section header type, e.g. SHT_PROGBITS flags = section header flags, e.g. SHF_ALLOC align_ = section alignment
Returns
SegData index of found or newly created section.
Function Obj_getsegment
Get corresponding seg_data entry for an existing or newly added section.
extern(C++) int Obj_getsegment
(
const(char)* name,
const(char)* suffix,
int type,
int flags,
int align_
);
Input
name = name of section suffix = append to name type = section header type, e.g. SHT_PROGBITS flags = section header flags, e.g. SHF_ALLOC align_ = section alignment
Returns
SegData index of found or newly created section.
Function Obj_getsegment
Get corresponding seg_data entry for an existing or newly added section.
extern(C++) int Obj_getsegment
(
const(char)* name,
const(char)* suffix,
int type,
int flags,
int align_
);
Input
name = name of section suffix = append to name type = section header type, e.g. SHT_PROGBITS flags = section header flags, e.g. SHF_ALLOC align_ = section alignment
Returns
SegData index of found or newly created section.