placed register_options() last in the interface
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 2 Apr 2006 11:18:37 +0000 (11:18 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Sun, 2 Apr 2006 11:18:37 +0000 (11:18 +0000)
ir/be/ppc32/bearch_ppc32.c

index 1c02ffa..0840f04 100644 (file)
@@ -853,9 +853,6 @@ static void ppc32_register_options(lc_opt_entry_t *ent)
 #endif /* WITH_LIBCORE */
 
 const arch_isa_if_t ppc32_isa_if = {
-#ifdef WITH_LIBCORE
-       ppc32_register_options,
-#endif
        ppc32_init,
        ppc32_done,
        ppc32_get_n_reg_class,
@@ -865,5 +862,8 @@ const arch_isa_if_t ppc32_isa_if = {
        ppc32_get_irn_handler,
        ppc32_get_code_generator_if,
        ppc32_get_list_sched_selector,
-       ppc32_get_reg_class_alignment
+       ppc32_get_reg_class_alignment,
+#ifdef WITH_LIBCORE
+       ppc32_register_options
+#endif
 };