[PATCH, ARM]: Fix missing BFD_RELOC_ARM_HVC definition

John Tytgat john@bass-software.com
Tue Oct 5 22:36:00 GMT 2010


Last 23rd September Matthew Gretton-Dann added BFD_RELOC_ARM_HVC support and
made a definition for this in bfd/bfd-in2.h.  However bfd/bfd-in2.h is a
derived file (like bfd/libbfd.h) and an entry in bfd/reloc.c and an update
of bfd/libbfd.h was missing.

This trivial patch should fix it.  Please commit after positive review.

bfd/ChangeLog

2010-10-06  John Tytgat  <john@bass-software.com>

	* reloc.c (BFD_RELOC_ARM_HVC): Add.
	* libbfd.h: Regenerate.

John.
-- 
John Tytgat
John@bass-software.com
-------------- next part --------------
Index: bfd/libbfd.h
===================================================================
RCS file: /cvs/src/src/bfd/libbfd.h,v
retrieving revision 1.239
diff -u -r1.239 libbfd.h
--- bfd/libbfd.h	18 Aug 2010 12:24:07 -0000	1.239
+++ bfd/libbfd.h	5 Oct 2010 22:11:52 -0000
@@ -1408,6 +1408,7 @@
   "BFD_RELOC_ARM_T32_ADD_PC12",
   "BFD_RELOC_ARM_SHIFT_IMM",
   "BFD_RELOC_ARM_SMC",
+  "BFD_RELOC_ARM_HVC",
   "BFD_RELOC_ARM_SWI",
   "BFD_RELOC_ARM_MULTI",
   "BFD_RELOC_ARM_CP_OFF_IMM",
Index: bfd/reloc.c
===================================================================
RCS file: /cvs/src/src/bfd/reloc.c,v
retrieving revision 1.205
diff -u -r1.205 reloc.c
--- bfd/reloc.c	25 Aug 2010 07:02:40 -0000	1.205
+++ bfd/reloc.c	5 Oct 2010 22:11:53 -0000
@@ -3038,6 +3038,8 @@
 ENUMX
   BFD_RELOC_ARM_SMC
 ENUMX
+  BFD_RELOC_ARM_HVC
+ENUMX
   BFD_RELOC_ARM_SWI
 ENUMX
   BFD_RELOC_ARM_MULTI



More information about the Binutils mailing list