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 gas fixups


Applied.

	* config/tc-ppc.c (md_apply_fix): Fix xcoff build breakage from
	last patch.

Index: gas/config/tc-ppc.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-ppc.c,v
retrieving revision 1.188
diff -u -p -r1.188 tc-ppc.c
--- gas/config/tc-ppc.c	5 Nov 2012 10:00:12 -0000	1.188
+++ gas/config/tc-ppc.c	6 Nov 2012 01:52:17 -0000
@@ -6360,10 +6360,12 @@ md_apply_fix (fixS *fixP, valueT *valP, 
       fieldval = value;
       switch (fixP->fx_r_type)
 	{
+#ifdef OBJ_ELF
 	case BFD_RELOC_PPC64_ADDR16_LO_DS:
 	  if (fixP->fx_pcrel)
 	    goto bad_pcrel;
 	  /* fall through */
+#endif
 	case BFD_RELOC_LO16:
 	  if (fixP->fx_pcrel)
 	    fixP->fx_r_type = BFD_RELOC_LO16_PCREL;

-- 
Alan Modra
Australia Development Lab, IBM


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