gnupic: Relocation problems with gplink
Subject:
Relocation problems with gplink
From:
Peter Onion ####@####.####
Date:
20 May 2005 22:49:57 +0100
Message-Id: <1116625770.5511.26.camel@HP.RoomLan>
Hi,
I'm just trying to move some code from absolute mode to relocatable
mode, I'm getting this error from gplink....
error: unimplemented relocation = 8 in section "asciitab"
gplink: gpcofflink.c:1486: gp_cofflink_patch_addr: Assertion `0' failed.
Aborted
The section "asciitab" is a lookup table which holds the addresses of
functions used to process each ascii character.
asciitab CODE 0x1C00
ASCIITable
DW ASCIInul ; 0x00
DW ASCIIsoh ; 0x01
DW ASCIIstx ; 0x02
DW ASCIIetx ; 0x03
DW ASCIIeot ; 0x04
etc etc etc
The functions (eg ASCIInul) are in another code section in the same
file. It used to work fine in absolute mode but should it still work in
relocateable mode ?
Peter