summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/aix41.h
diff options
context:
space:
mode:
authordanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-16 15:28:18 +0000
committerdanglin <danglin@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-16 15:28:18 +0000
commit137900fa291f1c177a074c82eaa4c265a584ca32 (patch)
tree1c91cbe9f2de1c17161aeacff28875b71fb4cf00 /gcc/config/rs6000/aix41.h
parentc2849191edfa1e8c94a2fb6200ec159f5574c69d (diff)
downloadgcc-137900fa291f1c177a074c82eaa4c265a584ca32.tar.gz
PR target/16304
* defaults.h (TARGET_DEFERRED_OUTPUT_DEFS): Provide default. * toplev.c (compile_file): Call process_pending_assemble_output_defs just before targetm.asm_out.file_end. * tree.h (process_pending_assemble_output_defs): Declare. * varasm.c (assemble_output_def, process_pending_assemble_output_defs): New functions. (assemble_alias): Defer generation of assembly code for defines when TARGET_DEFERRED_OUTPUT_DEFS is true. * config/rs6000/aix41.h (TARGET_DEFERRED_OUTPUT_DEFS): Define. * config/rs6000/aix43.h (TARGET_DEFERRED_OUTPUT_DEFS): Define. * doc/tm.texi (TARGET_DEFERRED_OUTPUT_DEFS): document. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93726 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/aix41.h')
-rw-r--r--gcc/config/rs6000/aix41.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/rs6000/aix41.h b/gcc/config/rs6000/aix41.h
index bdf1fe6cd7a..74afa7a875d 100644
--- a/gcc/config/rs6000/aix41.h
+++ b/gcc/config/rs6000/aix41.h
@@ -91,3 +91,7 @@
#undef RS6000_CALL_GLUE
#define RS6000_CALL_GLUE "{cror 31,31,31|nop}"
+/* The IBM AIX 4.x assembler doesn't support forward references in
+ .set directives. We handle this by deferring the output of .set
+ directives to the end of the compilation unit. */
+#define TARGET_DEFERRED_OUTPUT_DEFS(DECL,TARGET) true