This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PowerpC pointer_equality_needed optimisation


On Sat, Feb 23, 2008 at 12:22:29PM +1030, Alan Modra wrote:
> +		else if (!h->ref_regular_nonweak)
> +		  {
> +		    /* Choose your poison.  We must have either text
> +		       dynamic relocations, broken function pointer
> +		       comparisons, or broken tests for a NULL
> +		       function pointer.  */
> +		    (*_bfd_error_handler)
> +		      (_("weak reference to %s in non-pic code"
> +			 " will break function pointer comparisons"),
> +		       h->root.root.string);
> +		    sym->st_value = 0;
> +		  }

Isn't this warning going to trigger in, e.g., the gcc gthread_*
functions and thus in lots of applications?


-- 
Daniel Jacobowitz
CodeSourcery


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]