aout BFD_RELOC_8

Alan Modra amodra@bigpond.net.au
Mon Aug 26 01:45:00 GMT 2002


Looks to me like this one was left out by accident.  8 bit pcrel relocs
but no 8 bit absolute seems a bit strange.

bfd/ChangeLog
	* aoutx.h (NAME(aout,reloc_type_lookup)): Handle BFD_RELOC_8.

Index: bfd/aoutx.h
===================================================================
RCS file: /cvs/src/src/bfd/aoutx.h,v
retrieving revision 1.33
diff -u -p -r1.33 aoutx.h
--- bfd/aoutx.h	8 Aug 2002 00:11:37 -0000	1.33
+++ bfd/aoutx.h	26 Aug 2002 08:23:06 -0000
@@ -318,6 +318,7 @@ NAME(aout,reloc_type_lookup) (abfd,code)
     /* std relocs.  */
     switch (code)
       {
+	STD (BFD_RELOC_8, 0);
 	STD (BFD_RELOC_16, 1);
 	STD (BFD_RELOC_32, 2);
 	STD (BFD_RELOC_8_PCREL, 4);

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list