[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug binutils/19717] New: bfd/elflink.c does not handle octets_per_byte
From: |
dgisselq at ieee dot org |
Subject: |
[Bug binutils/19717] New: bfd/elflink.c does not handle octets_per_byte properly, line 7956 |
Date: |
Tue, 23 Feb 2016 21:09:47 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=19717
Bug ID: 19717
Summary: bfd/elflink.c does not handle octets_per_byte
properly, line 7956
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 bug references line 7956 of bfd/elflink.c in 2.25, where the offset in the
relocatable rel->r_offset, is in target byte units whereas the contents are in
file octet units. Fixing this requires multiplying the r_offset field by the
bfd_octets_per_byte value.
--
You are receiving this mail because:
You are on the CC list for the bug.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug binutils/19717] New: bfd/elflink.c does not handle octets_per_byte properly, line 7956,
dgisselq at ieee dot org <=