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
7b6a6b29
Commit
7b6a6b29
authored
Mar 10, 2009
by
Matthias Braun
Browse files
PIC fixes for global vars
[r25655]
parent
1553b019
Changes
1
Hide whitespace changes
Inline
Side-by-side
ir/be/beabi.c
View file @
7b6a6b29
...
@@ -2198,7 +2198,7 @@ static ir_entity *get_pic_symbol(be_main_env_t *env, ir_entity *entity)
...
@@ -2198,7 +2198,7 @@ static ir_entity *get_pic_symbol(be_main_env_t *env, ir_entity *entity)
static
int
can_address_relative
(
ir_entity
*
entity
)
static
int
can_address_relative
(
ir_entity
*
entity
)
{
{
return
get_entity_variability
(
entity
)
==
variability_initialized
return
get_entity_variability
(
entity
)
==
variability_initialized
||
get_entity_visibility
(
entity
)
=
=
visibility_loca
l
;
&&
get_entity_visibility
(
entity
)
!
=
visibility_
external_al
loca
ted
;
}
}
/** patches SymConsts to work in position independent code */
/** patches SymConsts to work in position independent code */
...
...
Write
Preview
Supports
Markdown
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