RE: Need emit_expr to write right shifted value.

2023-06-22 Thread zac.walker
@lists.linaro.org Subject: Re: Need emit_expr to write right shifted value. On 22/06/23 10:18, zac.wal...@linaro.org wrote: > Hi, > > In binutils I need to write an offset between two symbols shifted right by 2 > bits. This offset is written to the xdata section. My > code curre

Re: Need emit_expr to write right shifted value.

2023-06-22 Thread Adhemerval Zanella Netto
On 22/06/23 10:18, zac.wal...@linaro.org wrote: > Hi, > > In binutils I need to write an offset between two symbols shifted right by 2 > bits. This offset is written to the xdata section. My > code currently looks like this: > > exp.X_op = O_subtract; > exp.X_add_symbol = symbol1; >