Apply rev 1.225 from binutils mainline:

date: 2003/07/09 01:27:30;  author: cgd;  state: Exp;  lines: +3 -2
2003-07-08  Chris Demetriou  <cgd@broadcom.com>

	* config/tc-mips.c (mips_validate_fix): Do not warn about branch
	target being a global symbol if not compiling SVR4 PIC code.

Fixes warnings compiling MIPS kernels.  Problem noticed by Izumi Tsutsui
on the port-pmax list.
This commit is contained in:
simonb 2003-12-15 00:54:41 +00:00
parent 1534ca51d1
commit 72964fcdbe

View File

@ -11570,6 +11570,7 @@ mips_validate_fix (fixP, seg)
{
symbolS *sym = fixP->fx_addsy;
if (mips_pic == SVR4_PIC)
as_warn_where (fixP->fx_file, fixP->fx_line,
_("Pretending global symbol used as branch target is local."));