Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
04/04/02 01:17
Read: times


 
#21409 - Strange linker directives
Our company took over supporting an 8031 project some time ago, and recently we have been having major problems with it(seemingly random program jumps, variables being overwritten for no apparent reason, etc). At this point we haven't found the problem but we suspect something with the linker. The linker directives contain the following:

CODE(0000H, ?CO?SERIAL(9000H), ?C_LIB_CODE, ?C_LDIV, ?PR?SERIAL_MAIN?SERIAL,&
?PR?SERIAL_REAL_TIME_DUMP?SERIAL, ?PR?SERIAL_DIAGNOSTICS?SERIAL, &
?PR?_TIME_SUBTRACT?MAIN, ?PR?PRINTF?PRINTF)
There is no reason I can think of for the location assignments, the processor is a Romless 8031 and there is nothing zharing the code address space. I suspect the mess above was a workaround that the person who did the original work did to get around some sort of problem with the Franklin toolset. If you change the above to CODE(0000H) it makes things worse. Going back to the original code as we got it and getting rid of the location directives causes it to exhibit the same problems.
Any information from anyone who has had a similar problem or who has any insights would be GREATLY appreciated.
(The compiler we are using is Franklin ver. 6). Thanks

List of 4 messages in thread
TopicAuthorDate
Strange linker directives            01/01/70 00:00      
RE: Strange linker directives            01/01/70 00:00      
RE: Strange linker directives            01/01/70 00:00      
RE: Strange linker directives            01/01/70 00:00      

Back to Subject List