This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: A patch for calc_hex () in gas
- To: "H . J . Lu" <hjl at valinux dot com>
- Subject: Re: A patch for calc_hex () in gas
- From: Richard Henderson <rth at redhat dot com>
- Date: Fri, 29 Dec 2000 14:51:38 -0800
- Cc: binutils at sourceware dot cygnus dot com
- References: <20001229142100.A25999@valinux.com>
On Fri, Dec 29, 2000 at 02:21:00PM -0800, H . J . Lu wrote:
> + if (frag_ptr->fr_type != rs_align_code)
> {
> unsigned int var_rep_max = octet_in_frag;
> unsigned int var_rep_idx = octet_in_frag;
I don't see how this ever worked. fr_offset means something
different in just about every fragment type.
Do things work if you use
if (frag_ptr->fr_type == rs_fill)
instead?
r~