[patch] bfd/elfarm-nabi.c ABS16 masks

DJ Delorie dj@delorie.com
Wed Apr 10 09:45:00 GMT 2002


> Well if a custom handler is being used for the reloc, then maybe the
> masks are not needed.  In the case of the one you fixed however, it
> would defintely appear to be a bug, sicne the generic handler is
> in use.

Ok, applied then.

2002-04-09  DJ Delorie  <dj@redhat.com>

      * elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks.

Index: elfarm-nabi.c
===================================================================
RCS file: /cvs/src/src/bfd/elfarm-nabi.c,v
retrieving revision 1.10
diff -p -2 -r1.10 elfarm-nabi.c
*** elfarm-nabi.c       18 Sep 2001 09:57:24 -0000      1.10
--- elfarm-nabi.c       10 Apr 2002 16:44:58 -0000
*************** static reloc_howto_type elf32_arm_howto_
*** 139,144 ****
         "R_ARM_ABS16",         /* name */
         false,                 /* partial_inplace */
!        0,                     /* src_mask */
!        0,                     /* dst_mask */
         false),                /* pcrel_offset */
  
--- 139,144 ----
         "R_ARM_ABS16",         /* name */
         false,                 /* partial_inplace */
!        0x0000ffff,            /* src_mask */
!        0x0000ffff,            /* dst_mask */
         false),                /* pcrel_offset */



More information about the Binutils mailing list