gnupic: unimplemented relocation
Subject:
unimplemented relocation
From:
Jerry Epplin ####@####.####
Date:
11 Mar 2005 03:59:17 +0000
Message-Id: <42311730.8040904@epplin.com>
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: