This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Patch to add support for ARM BLX reloc to arm-coff
- To: binutils at sources dot redhat dot com
- Subject: Patch to add support for ARM BLX reloc to arm-coff
- From: Nick Clifton <nickc at redhat dot com>
- Date: 06 Mar 2001 12:29:09 -0800
Hi Guys,
I have checked in the following small patch so that the arm-coff
port can support the reloc for the Thumb BLX instruction.
Cheers
Nick
2001-03-06 Nick Clifton <nickc@redhat.com>
* coff-arm.c (coff_arm_reloc_type_lookup): Add
BFD_RELOC_THUMB_PCREL_BLX.
Index: coff-arm.c
===================================================================
RCS file: /cvs/src//src/bfd/coff-arm.c,v
retrieving revision 1.23
diff -p -r1.23 coff-arm.c
*** coff-arm.c 2001/01/23 11:45:52 1.23
--- coff-arm.c 2001/03/06 20:27:32
*************** coff_arm_reloc_type_lookup (abfd, code)
*** 853,858 ****
--- 853,859 ----
ASTD (BFD_RELOC_THUMB_PCREL_BRANCH9, ARM_THUMB9);
ASTD (BFD_RELOC_THUMB_PCREL_BRANCH12, ARM_THUMB12);
ASTD (BFD_RELOC_THUMB_PCREL_BRANCH23, ARM_THUMB23);
+ ASTD (BFD_RELOC_THUMB_PCREL_BLX, ARM_THUMB23);
#endif
default: return (CONST struct reloc_howto_struct *) 0;
}