summaryrefslogtreecommitdiffhomepage
path: root/ir/be/begnuas.h
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2010-02-01 19:49:57 +0100
committerMatthias Braun <matze@braunis.de>2010-02-01 19:49:57 +0100
commit3a4bad532d2f47a8f3920fbfd12159f7d4a45eaf (patch)
tree2e2c243a1f8a3c977ba22b109adc022a8aa70384 /ir/be/begnuas.h
parent11a2eb0c1ea4073251827dc7e2b34c5e1e04a4bc (diff)
make the character used for specifying elf types configurable in begnuas and use generic function prolog in arm backend
[r27022]
Diffstat (limited to 'ir/be/begnuas.h')
-rw-r--r--ir/be/begnuas.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/ir/be/begnuas.h b/ir/be/begnuas.h
index 0ec885c..708d8ec 100644
--- a/ir/be/begnuas.h
+++ b/ir/be/begnuas.h
@@ -62,6 +62,11 @@ typedef enum asm_flavour_t {
/** The variable where the GAS dialect is stored. */
extern be_gas_flavour_t be_gas_flavour;
extern bool be_gas_emit_types;
+/**
+ * the .type directive needs to specify @function, #function or %function
+ * depending on the target architecture (yay)
+ */
+extern char be_gas_elf_type_char;
/**
* Generate all entities.
@@ -88,7 +93,7 @@ void be_gas_emit_switch_section(be_gas_section_t section);
/**
* emit assembler instructions necessary before starting function code
*/
-void be_gas_emit_function_prolog(ir_entity *entity, unsigned alignment);
+void be_gas_emit_function_prolog(ir_entity *entity, unsigned po2alignment);
void be_gas_emit_function_epilog(ir_entity *entity);