From bc6d19abb1155efe6938d3e96c409f4c10269bee Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Sat, 18 Dec 2004 06:38:24 +0000 Subject: [PATCH] re PR middle-end/18897 (/usr/ccs/bin/ld: Unsatisfied symbols: putchar (first referenced in build/gengenrtl.o) (data)) PR 18897 * toplev.c (compile_file): Call process_pending_assemble_externals just before targetm.asm_out.file_end. From-SVN: r92347 --- gcc/ChangeLog | 18 ++++++++++++------ gcc/toplev.c | 5 +++++ 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c08d172211a..127880aa24d 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2004-12-17 Zack Weinberg + + PR 18897 + * toplev.c (compile_file): Call process_pending_assemble_externals + just before targetm.asm_out.file_end. + 2004-12-17 Diego Novillo tree-optimization/18501 @@ -48,7 +54,7 @@ 2004-12-17 Andreas Krebbel - * config/s390/s390.c (s390_gimplify_va_arg): Set alias set to + * config/s390/s390.c (s390_gimplify_va_arg): Set alias set to s390_sr_alias_set. 2004-12-17 Jan Beulich @@ -186,7 +192,7 @@ 2004-12-16 Uros Bizjak * config/i386/i386.md (sqrt{s,d}f2_1, sqrt{s,d}f2_1_sse_only, - sqrt{s,d}f2_i387): Unify enable constraint with respect to + sqrt{s,d}f2_i387): Unify enable constraint with respect to TARGET_SSE, TARGET_SSE2, TARGET_USE_FANCY_MATH_387, TARGET_SSE_MATH and TARGET_MIX_SSE_I387. (sqrt{s,d}f2_1): Rename to *sqrt{s,d}f2_mixed. @@ -217,7 +223,7 @@ -lunwind if possible. 2004-12-15 Daniel Berlin - + * cfgloop.c (flow_loops_dump): Don't print out levels. (flow_loops_find): Don't set loop->levels. (flow_loops_level_compute): Make void. @@ -252,7 +258,7 @@ (calculate_reg_pav): Use code from modify_bb_reg_pav. (temp_bitmap): New variable. (calculate_reg_pav): Allocate/deallocate temp_bitmap. - + 2004-12-15 Richard Henderson PR target/19010 @@ -570,7 +576,7 @@ * config/i386/i386.c (ix86_gimplify_va_arg): Fix type mismatch errors across operations. -2004-12-12 Di-an Jan +2004-12-12 Di-an Jan * doc/passes.texi (Pass Manager): Correct list of source files. @@ -675,7 +681,7 @@ PR 18732 * gcc.c (main): Do not break out of loop when error is reported while processing one source file. - + 2004-12-10 Diego Novillo * tree-into-ssa.c (REWRITE_THIS_STMT): Define. 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. */ -- 2.11.4.GIT