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:
parent
1534ca51d1
commit
72964fcdbe
1
gnu/dist/binutils/gas/config/tc-mips.c
vendored
1
gnu/dist/binutils/gas/config/tc-mips.c
vendored
@ -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."));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user