hppa build broken

John David Anglin dave@hiauly1.hia.nrc.ca
Wed Jun 15 23:21:00 GMT 2005
> !       if (extra > 0)

I believe that the above can be changed to

	if (extra > 0 || bcount == 0)

> ! 	{
> ! 	  char *p = frag_var (rs_fill, extra, extra, 0, NULL, 1, NULL);
> ! 	  memset (p, 0, extra);
> ! 	}

and the following code deleted.

> !       if (bcount == 0 && extra == 0)
> ! 	{
> ! 	  char *p = frag_var (rs_fill, 1, 1, 0, NULL, 0, NULL);
> ! 	  memset (p, 0, 1);
> ! 	}

It's ok to call memset with extra == 0.  This should duplicate the
behavior prior to Alan's change.  Need to check that

	.block 0

actually produces a 0 sized block.  I'll try this when I get home
tonight.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)



More information about the Binutils mailing list