Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Zwinkau
libfirm
Commits
c149643e
Commit
c149643e
authored
Oct 18, 2015
by
Matthias Braun
Browse files
macho: comdat functions have to be marked .weak_definition
parent
4a810252
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/begnuas.c
View file @
c149643e
...
...
@@ -660,6 +660,8 @@ void be_gas_emit_function_prolog(const ir_entity *entity, unsigned po2alignment,
be_emit_write_line
();
break
;
case
OBJECT_FILE_FORMAT_MACH_O
:
if
(
section
==
(
GAS_SECTION_TEXT
|
GAS_SECTION_FLAG_COMDAT
))
emit_symbol_directive
(
".weak_definition"
,
entity
);
break
;
}
be_gas_emit_entity
(
entity
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment