DSPRelated.com
Forums

recompiling drv6x.lib

Started by Jesse Vizcaino March 26, 2005

I'm using an EVM C6701 card. I have two sections of "fast" memory on
the board 64K starting at 0x0 and 64K starting at 0x80000000. What I
would like to do is have the linker spread code over these two
sections using the >> option in the linker command file. However, our
code uses the drv6x.lib. When I try to link the code I get the
following:

relocation overflow at address XXXXXX in '.text' of input file
codec.obj in drv6x.lib. I think to correct this I need to recompile
the library with the -ml2 option (far call and far data). Does this
seem to be correct?

-Elliott



Elliott,
 
The two sections of 'fast memory' of which you speak are in the 6701 DSP.  The one that begins at zero is for program, while the one that begins at 0x80000000 is for data.
 
mikedunn

Jesse Vizcaino <j...@gmail.com> wrote:


I'm using an EVM C6701 card. I have two sections of "fast" memory on
the board 64K starting at 0x0 and 64K starting at 0x80000000. What I
would like to do is have the linker spread code over these two
sections using the >> option in the linker command file. However, our
code uses the drv6x.lib. When I try to link the code I get the
following:

relocation overflow at address XXXXXX in '.text' of input file
codec.obj in drv6x.lib. I think to correct this I need to recompile
the library with the -ml2 option (far call and far data). Does this
seem to be correct?

-Elliott

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/c6x/

<*> To unsubscribe from this group, send an email to:
c...@yahoogroups.com

<*