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]

Re: 68HC11 port of Binutils


+++ binutils/bfd/reloc.c	Thu Jun  1 11:17:53 2000
Hi Stephane,

  Thanks for contributing this work.  I have applied your patches (1
  through 8) to the binutils source tree with one small bug fix (see
  below). 

Cheers
	Nick

+++ binutils/bfd/reloc.c	Thu Jun  1 11:17:53 2000
@@ -2888,6 +2888,23 @@ ENUMX
 ENUMDOC
   Intel IA64 Relocations.
 ENDSENUM
+
+ENUM
+  BFD_RELOC_M68HC11_HI8
+ENUMDOC
+  Motorola 68HC11 reloc.
+  This is the 8 bits high part of an absolute address.
+ENUM
+  BFD_RELOC_M68HC11_LO8
+ENUMDOC
+  Motorola 68HC11 reloc.
+  This is the 8 bits low part of an absolute address.
+ENUM
+  BFD_RELOC_M68HC11_3B
+ENUMDOC
+  Motorola 68HC11 reloc.
+  This is the 3 bits of a value.
+
   BFD_RELOC_UNUSED
 CODE_FRAGMENT

This is wrong.  The ENDSENUM should come after the last entry in the
enum and just before BFD_RELOC_UNUSED.  Otherewise when bfd.h and
libbfd.h are generated they will end up with enum fields being
declared outside of the enum statement.




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