This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: A patch for calc_hex () in gas


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~

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]