A patch for calc_hex () in gas

Richard Henderson rth@redhat.com
Fri Dec 29 14:51:00 GMT 2000


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~


More information about the Binutils mailing list