aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.c
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2004-12-18 06:38:24 +0000
committerZack Weinberg <zack@codesourcery.com>2004-12-18 06:38:24 +0000
commitbc172d8f6e00c55239954f229c3a8400f058b190 (patch)
tree913e40d7ad0aac59ca4a237a43977a83cab30316 /gcc/toplev.c
parentf678c2de54fc066a6fe5db8418624877e51d6a4f (diff)
PR 18897
* toplev.c (compile_file): Call process_pending_assemble_externals just before targetm.asm_out.file_end. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@92347 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/toplev.c')
-rw-r--r--gcc/toplev.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/toplev.c b/gcc/toplev.c
index edfc55219b1..5a5702f0de2 100644
--- a/gcc/toplev.c
+++ b/gcc/toplev.c
@@ -1034,6 +1034,11 @@ compile_file (void)
dw2_output_indirect_constants ();
+ /* Flush any pending external directives. cgraph did this for
+ assemble_external calls from the front end, but the RTL
+ expander can also generate them. */
+ process_pending_assemble_externals ();
+
/* Attach a special .ident directive to the end of the file to identify
the version of GCC which compiled this code. The format of the .ident
string is patterned after the ones produced by native SVR4 compilers. */