Anonymous - 2001-10-22

I am new to the 8051 development and I am using SDCC 2.2.2.  I do not have any previous experience in developing firmware for a microcontroller.  I have written LAN drivers on an IBM PC for a number of years though.

I inherited a piece of code and I  added some functions.  The compilation stage finished OK but during linking I got the following error:

?ASlink-Warning-Byte PCR relocation error
         file    module   area   offset
Refby    ews.rel  ews      CSEG    0BAC
Defin    ews.rel  ews      CSEG    06E2

I got this a few times before and I can move the functions I added up or down in the source file (there is only one C source file) by trial-and-error to resolve the problem.  But now the modification is too substantial and I have no clue as to which functions to move around.

   I would appreciate it if someone can shed some light on this.  Thanks in advance.