bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gas/26556] relax_segment calculates incorrect target frag when OCTE


From: nickc at redhat dot com
Subject: [Bug gas/26556] relax_segment calculates incorrect target frag when OCTETS_PER_BYTE > 1
Date: Thu, 17 Sep 2020 16:16:41 +0000

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

--- Comment #4 from Nick Clifton <nickc at redhat dot com> ---
Hi Tucker,

  Well this patch breaks some of the gas tests for targets currently
  use OCTETS_PER_BYTE > 1.  (For example try tic54x-coff and look at
  the gas/org-3 test).

  In fact I do not see any ELF targets that use OCTETS_PER_BYTE > 1,
  so I am wondering where this issue is coming from.  Do you have a
  new target that is using this feature, or a COFF/PE based target
  that is experiencing problems ?

  Anyway, my current feeling is that write.c:relax_segment() is 
  probably not the right place to fix this problem.  My gut feeling
  is that the fr_offset field in the frag that is being used for
  the common definitions needs to be octet adjusted at some earlier
  point.  Precisely which point I do not know.

Cheers
  Nick

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]