gnupic: Re: [gnupic] unimplemented relocation
Subject:
Re: [gnupic] unimplemented relocation
From:
Craig Franklin ####@####.####
Date:
12 Mar 2005 02:16:18 +0000
Message-Id: <423251BF.4050003@users.sourceforge.net>
Your fix looks right to me. It is in cvs. Thanks.
Jerry Epplin wrote:
> gplink fails the following code with an "unimplemented relocation = 8":
>
> code
> foo: dw bar
> bar: return
> end
>
> What would be involved in implementing this functionality? The
> following simpleminded patch to gpcofflink.c appears to work for
> my purposes.
>
> --- gputils-050207/libgputils/gpcofflink.c 2005-02-07
> 08:32:53.000000000 -0600
> +++ gputils-050207.reloc/libgputils/gpcofflink.c 2005-03-10
> 19:43:51.648073248 -0600
> @@ -1525,9 +1525,11 @@
> write_data = 0;
> }
> break;
> + case RELOCT_ALL:
> + data = value;
> + break;
> /* unimplemented relocations */
> case RELOCT_PAGESEL:
> - case RELOCT_ALL:
> case RELOCT_SCNSZ_LOW:
> case RELOCT_SCNSZ_HIGH:
> case RELOCT_SCNSZ_UPPER:
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>