------- Comment #11 from hp at gcc dot gnu dot org 2008-09-22 01:55 ------- Subject: Bug 37280
Author: hp Date: Mon Sep 22 01:54:03 2008 New Revision: 140539 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140539 Log: PR middle-end/37170 PR middle-end/37280 * final.c (mark_symbol_ref_as_used): New helper function. (output_operand): Instead of just looking inside MEMs for SYMBOL_REFs, use new helper function and for_each_rtx. * varasm.c (assemble_external): Move #ifndef ASM_OUTPUT_EXTERNAL to after weak-handling. Don't mark decls with TREE_STATIC as weak. Make head comment more general. * config/darwin.c (machopic_output_indirection): Handle weak references here, like in assemble_external. Modified: trunk/gcc/ChangeLog trunk/gcc/config/darwin.c trunk/gcc/final.c trunk/gcc/varasm.c -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37280