mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-14 04:49:41 -07:00
WIP: use MSVC rule for COMDAT symbol replacement
This commit is contained in:
1 parent
d9eb26a830
commit
240935f0cc
1 file changed
+1
-1
@@ -285,7 +285,7 @@ lnk_can_replace_symbol(LNK_Symbol *dst, LNK_Symbol *src)
|
||||
can_replace = lnk_obj_is_before(src_obj, dst_obj);
|
||||
} else {
|
||||
// both COMDATs are valid but to get smaller exe pick smallest
|
||||
can_replace = src_section_length < dst_section_length;
|
||||
can_replace = 0;
|
||||
}
|
||||
} break;
|
||||
case COFF_ComdatSelect_NoDuplicates: {
|
||||
|
||||
Reference in new issue
Block a user