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
708a3f7e
Commit
708a3f7e
authored
May 25, 2015
by
Matthias Braun
Browse files
begnuas: OS X has .weak_definition and .weak_reference
parent
d382a20a
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/begnuas.c
View file @
708a3f7e
...
...
@@ -462,7 +462,8 @@ static void emit_weak(const ir_entity *entity)
{
const
char
*
directive
;
if
(
be_gas_object_file_format
==
OBJECT_FILE_FORMAT_MACH_O
)
{
directive
=
".weak_reference"
;
directive
=
entity_has_definition
(
entity
)
?
".weak_definition"
:
".weak_reference"
;
}
else
{
directive
=
".weak"
;
}
...
...
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