summaryrefslogtreecommitdiff
path: root/devel/avr-binutils/files/patch-bug5523
blob: 59986b7dbacaf7fb5803e2bf1aff56b476127eed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Committed
Binutils 2.19.
Backport patch to fix Binutils bug #5523. 
--------------------------------------------------------------------------------
Index: gas/config/tc-avr.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-avr.c,v
retrieving revision 1.48
diff -c -3 -p -r1.48 tc-avr.c
*** gas/config/tc-avr.c	16 Nov 2007 17:39:22 -0000	1.48
--- gas/config/tc-avr.c	7 Jan 2008 16:43:30 -0000
*************** avr_ldi_expression (expressionS *exp)
*** 618,624 ****
  		      break;
  
  		    default:
! 		      as_warn (_("expression dangerous with linker stubs"));
  		    }
  		}
  	      return reloc_to_return;
--- 618,626 ----
  		      break;
  
  		    default:
! 		      /* PR 5523: Do not generate a warning here,
! 			 legitimate code can trigger this case.  */
! 		      break;
  		    }
  		}
  	      return reloc_to_return;