DSPRelated.com
Forums

.vecs without SECTIONS specification

Started by murs...@yahoo.com April 14, 2006
I have following warning. I can build, load and run Dr. R.Chassaing book's (for C6713-C6416) examples. But I want to discover what this warning says:

warning: creating output section .vecs without SECTIONS specification

Regards
--- m...@yahoo.com wrote:

> I have following warning. I can build, load and run
> Dr. R.Chassaing book's (for C6713-C6416) examples.
> But I want to discover what this warning says:
>
> warning: creating output section .vecs without
> SECTIONS specification

The following may be a bit hard to follow, but I think
that it will solve your problem.

I think that this warning indicates an incomplete
Linker Command File. I suspect that your vectors file
is specified to go into a unique memory section that
is not specified in your LCF. Look in your vectors
file - it should have a line near the top of the file
with a '.sect' directive. like the line below
.sect ".intvecs"
The name in quotes [.intvecs] may be different in your
case. This same name should appear in the "SECTIONS"
portion of the LCF like below-
SECTIONS
{
".intvecs" > .vecs

The name on the right of the above [.vecs], should
appear in the MEMORY portion of the LCF like below-

MEMORY
{
.vecs: o = 00000000h, l = 00000200h

mikedunn
>
> Regards
>
> c...
>
>
>
Yes, you are correct. I have solved the problem with your guidance.

Thank you.
>
>--- m...@yahoo.com wrote:
>
>> I have following warning. I can build, load and run
>> Dr. R.Chassaing book's (for C6713-C6416) examples.
>> But I want to discover what this warning says:
>>
>> warning: creating output section .vecs without
>> SECTIONS specification
>
>The following may be a bit hard to follow, but I think
>that it will solve your problem.
>
>I think that this warning indicates an incomplete
>Linker Command File. I suspect that your vectors file
>is specified to go into a unique memory section that
>is not specified in your LCF. Look in your vectors
>file - it should have a line near the top of the file
>with a '.sect' directive. like the line below
> .sect ".intvecs"
>The name in quotes [.intvecs] may be different in your
>case. This same name should appear in the "SECTIONS"
>portion of the LCF like below-
>SECTIONS
>{
> ".intvecs" > .vecs
>
>The name on the right of the above [.vecs], should
>appear in the MEMORY portion of the LCF like below-
>
>MEMORY
>{
> .vecs: o = 00000000h, l = 00000200h
>
>mikedunn
>>
>> Regards
>>
>> c...
>>
>>
>>