projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
abe9eb6
)
Emit the symbol of PIC trampolines.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 5 Feb 2010 19:11:43 +0000
(19:11 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Fri, 5 Feb 2010 19:11:43 +0000
(19:11 +0000)
[r27058]
ir/be/begnuas.c
patch
|
blob
|
history
diff --git
a/ir/be/begnuas.c
b/ir/be/begnuas.c
index
097d693
..
d1ad904
100644
(file)
--- a/
ir/be/begnuas.c
+++ b/
ir/be/begnuas.c
@@
-1191,6
+1191,9
@@
static void dump_indirect_symbol(const ir_entity *entity, be_gas_section_t secti
/* we can only do PIC code on macho so far */
assert(be_gas_object_file_format == OBJECT_FILE_FORMAT_MACH_O);
+ be_emit_ident(get_entity_ld_ident(entity));
+ be_emit_cstring(":\n");
+ be_emit_write_line();
be_emit_cstring("\t.indirect_symbol ");
be_emit_ident(get_entity_ident(entity));
be_emit_char('\n');