This is the mail archive of the binutils@sourceware.cygnus.com 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]

Patch to bfd/aoutx.h lookup for ext relocs BFD_RELOC_8 and BFD_RELOC_16


It seems these were just spuriously missing.  Needed for a.out-cris.

Fri Mar 10 23:28:31 2000  Hans-Peter Nilsson  <hp@axis.se>

	* aoutx.h (NAME(aout,reloc_type_lookup)): Add BFD_RELOC_8 and
	BFD_RELOC_16 to switch for extended relocs.

Index: bfd/aoutx.h
===================================================================
RCS file: /cvs/src/src/bfd/aoutx.h,v
retrieving revision 1.4
diff -c -p -r1.4 aoutx.h
*** aoutx.h	2000/03/01 19:40:53	1.4
--- aoutx.h	2000/03/10 22:09:35
*************** NAME(aout,reloc_type_lookup) (abfd,code)
*** 283,288 ****
--- 291,298 ----
    if (ext)
      switch (code)
        {
+ 	EXT (BFD_RELOC_8, 0);
+ 	EXT (BFD_RELOC_16, 1);
  	EXT (BFD_RELOC_32, 2);
  	EXT (BFD_RELOC_HI22, 8);
  	EXT (BFD_RELOC_LO10, 11);

brgds, H-P

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