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: tuckkern+sourceware at gmail dot com
Subject: [Bug gas/26556] relax_segment calculates incorrect target frag when OCTETS_PER_BYTE > 1
Date: Wed, 16 Sep 2020 20:35:12 +0000

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

--- Comment #3 from Tucker <tuckkern+sourceware at gmail dot com> ---
Sure thing Nick. I've attached some assembly that showcases the issue.

To reproduce, build a target with OCTETS_PER_BYTE_POWER set to 1. I choose
MSP430 as a victim.

Normal MSP430:
   Num:    Value  Size Type    Bind   Vis      Ndx Name
     5: 00000000     4 OBJECT  LOCAL  DEFAULT    3 array_
     6: 00000004     1 OBJECT  LOCAL  DEFAULT    3 var_


OCTETS_PER_BYTE_POWER = 1 MSP430:
   Num:    Value  Size Type    Bind   Vis      Ndx Name
     5: 00000000     4 OBJECT  LOCAL  DEFAULT    3 array_
     6: 00000002     1 OBJECT  LOCAL  DEFAULT    3 var_

-- 
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]