Skip to content

Commit 39677b6

Browse files
committed
Maintain macro flag for non-code sybmols while linking
1 parent fc4c606 commit 39677b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/linking/linking.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -933,6 +933,7 @@ void linkingt::duplicate_object_symbol(
933933
{
934934
// new_symbol wins
935935
old_symbol.value=new_symbol.value;
936+
old_symbol.is_macro=new_symbol.is_macro;
936937
}
937938
else if(!new_symbol.is_weak)
938939
{

0 commit comments

Comments
 (0)