mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 13:58:40 +00:00
linker directive header fix
This commit is contained in:
committed by
Ryan Fleury
parent
e7c808ee69
commit
35e6b4a9f9
@@ -194,7 +194,7 @@ internal void
|
|||||||
coff_obj_writer_push_directive(COFF_ObjWriter *obj_writer, String8 directive)
|
coff_obj_writer_push_directive(COFF_ObjWriter *obj_writer, String8 directive)
|
||||||
{
|
{
|
||||||
if (obj_writer->drectve_sect == 0) {
|
if (obj_writer->drectve_sect == 0) {
|
||||||
local_persist const U8 bom_sig[] = { 0xEF, 0xBB, 0xBF };
|
local_persist const U8 bom_sig[] = { ' ', ' ', ' ' };
|
||||||
obj_writer->drectve_sect = coff_obj_writer_push_section(obj_writer, str8_lit(".drectve"), COFF_SectionFlag_LnkInfo|COFF_SectionFlag_LnkRemove|COFF_SectionFlag_Align1Bytes, str8_array_fixed(bom_sig));
|
obj_writer->drectve_sect = coff_obj_writer_push_section(obj_writer, str8_lit(".drectve"), COFF_SectionFlag_LnkInfo|COFF_SectionFlag_LnkRemove|COFF_SectionFlag_Align1Bytes, str8_array_fixed(bom_sig));
|
||||||
}
|
}
|
||||||
String8List *data = &obj_writer->drectve_sect->data;
|
String8List *data = &obj_writer->drectve_sect->data;
|
||||||
|
|||||||
Reference in New Issue
Block a user