https://sourceware.org/bugzilla/show_bug.cgi?id=19718

            Bug ID: 19718
           Summary: bfd/elflink.c does not handle octets_per_byte
                    properly, line 7923
           Product: binutils
           Version: 2.25
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: dgisselq at ieee dot org
  Target Milestone: ---

There are several "FIXME" lines within bfd/elflink.c outlining how bfd does not
properly support ELF files where octets per byte is not 1.  I'm currently
working on a port that relies on octets per byte being 4, not 1.  Each of these
fixme's therefore notes a problem with bfd/elflink.c.

This particular bug is very similar to the one just later in the file, and it
refers to mixing the contents pointer (units of file octets) with the
rel->r_offset value (units of target bytes, not necessarily octets).  The
latter needs to be multiplied by the octets_per_byte value to work.

The bug is found in line 7923 of binutils-2.25/bfd/elflink.c.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to