DSPRelated.com
Forums

Linker error (relocation (overflow)), 6711, CCS 3.1.0

Started by mikk...@suomi24.fi October 24, 2005
Hi,

I have a linker problem. I tried to find a sollution here, but I didn't find the right one. So the problem is that, I got the error message "error: relocation value truncated at 0x24 in section .bios". I am using --mem_model = far and RTS call = far, but it is not helping in this situation. Should this be handled somehow with -r argument?

[audio_dspcfg_c.c] "F:\apps\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -g -fr"Debug" -i"../" -d"CHIP_6711" -mr1 -ms0 -mv6710 --mem_model:data -@"Debug.lkf" "audio_dspcfg_c.c"

[Linking...] "F:\apps\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -@"Debug.lkf"
<Linking>
>> error: relocation value truncated at 0x24 in section .bios, file
gbl_cslinit62.o (F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62)
>> error: relocation value truncated at 0x60 in section .bios, file
clk_start6x.o62 (F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62)
>> error: relocation overflow occurred at address 0x00000000 in section
'.bios' of input file
'F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The 16-bit
relocated address 0x91d0 is too large to encode in the 15-bit
field. You may need to add a mask to the assembly instruction or
use other target specific assembly features if you really only need
the lowest 15 bits of this symbol. Please see the section on
Relocation in the Assembly User's Guide.
>> error: relocation overflow occurred at address 0x00000024 in section
'.bios' of input file
'F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The 16-bit
relocated address 0x91d0 is too large to encode in the 15-bit
field. You may need to add a mask to the assembly instruction or
use other target specific assembly features if you really only need
the lowest 15 bits of this symbol. Please see the section on
Relocation in the Assembly User's Guide.
>> error: relocation overflow occurred at address 0x0000005c in section
'.bios' of input file
'F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The 16-bit
relocated address 0x91d0 is too large to encode in the 15-bit
field. You may need to add a mask to the assembly instruction or
use other target specific assembly features if you really only need
the lowest 15 bits of this symbol. Please see the section on
Relocation in the Assembly User's Guide.
>> error: relocation overflow occurred at address 0x0000006c in section
'.bios' of input file
'F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The 16-bit
relocated address 0x91d0 is too large to encode in the 15-bit
field. You may need to add a mask to the assembly instruction or
use other target specific assembly features if you really only need
the lowest 15 bits of this symbol. Please see the section on
Relocation in the Assembly User's Guide.
>> error: relocation value truncated at 0x244 in section .bios, file
knl_tick_inst.o (F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62)
>> error: relocation overflow occurred at address 0x00000098 in section
'.bios' of input file
'F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The 16-bit
relocated address 0x91d0 is too large to encode in the 15-bit
field. You may need to add a mask to the assembly instruction or
use other target specific assembly features if you really only need
the lowest 15 bits of this symbol. Please see the section on
Relocation in the Assembly User's Guide.
>> error: relocation overflow occurred at address 0x00000004 in section
'.bios' of input file
'F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The 16-bit
relocated address 0x91d0 is too large to encode in the 15-bit
field. You may need to add a mask to the assembly instruction or
use other target specific assembly features if you really only need
the lowest 15 bits of this symbol. Please see the section on
Relocation in the Assembly User's Guide.
>> error: relocation overflow occurred at address 0x000000b4 in section
'.bios' of input file
'F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The 16-bit
relocated address 0x91d0 is too large to encode in the 15-bit
field. You may need to add a mask to the assembly instruction or
use other target specific assembly features if you really only need
the lowest 15 bits of this symbol. Please see the section on
Relocation in the Assembly User's Guide.
>> error: relocation value truncated at 0x4 in section .bios, file
sys_exit_inst.o (F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62)
>> error: relocation value truncated at 0xc in section .bios, file
tsk_setu_inst.o (F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62)
>> error: relocation value truncated at 0x10 in section .bios, file
tsk_stup_inst.o (F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62)
>> error: relocation value truncated at 0x28 in section .bios, file
tsk_stup_inst.o (F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62)
>> warning: output file './Debug/audio_dsp.out' is not executable

- Mileleo



Hi,

I located the error. I am using 6 PIPs in BIOS/DSP configuration.
When the size of PIP is too large the error occures. What is the best
way to fix this. I need six 1k pipes.

- Mikko ----Original
Message----
From: mikko.tasa@mikk...
Date: 2005/10/24 21:26
To:
<c6x@c6x@...>
Subj: [c6x] Linker error (relocation (overflow)),
6711, CCS 3.1.0

Hi,

I have a linker problem. I tried to find a
sollution here, but I didn't find the right one. So the problem is
that, I got the error message "error: relocation value truncated at
0x24 in section .bios". I am using --mem_model = far and RTS call =
far, but it is not helping in this situation. Should this be handled
somehow with -r argument?

[audio_dspcfg_c.c] "F:\apps\CCStudio_v3.
1\C6000\cgtools\bin\cl6x" -g -fr"Debug" -i"../" -d"CHIP_6711" -mr1 -ms0
-mv6710 --mem_model:data -@"Debug.lkf" "audio_dspcfg_c.c"

[Linking...] "F:\apps\CCStudio_v3.1\C6000\cgtools\bin\cl6x" -@"Debug.
lkf"
<Linking>
>> error: relocation value truncated at 0x24 in
section .bios, file
gbl_cslinit62.o (F:/apps/CCStudio_v3.
1/C6000/bios/lib/biosi.a62)
>> error: relocation value truncated at
0x60 in section .bios, file
clk_start6x.o62 (F:
/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62)
>> error: relocation
overflow occurred at address 0x00000000 in section
'.bios'
of input file
'F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.
a62'. The 16-bit
relocated address 0x91d0 is too large to
encode in the 15-bit
field. You may need to add a mask to
the assembly instruction or
use other target specific
assembly features if you really only need
the lowest 15
bits of this symbol. Please see the section on
Relocation
in the Assembly User's Guide.
>> error: relocation overflow occurred
at address 0x00000024 in section
'.bios' of input file
'F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The 16-
bit
relocated address 0x91d0 is too large to encode in the
15-bit
field. You may need to add a mask to the assembly
instruction or
use other target specific assembly features
if you really only need
the lowest 15 bits of this symbol.
Please see the section on
Relocation in the Assembly User's
Guide.
>> error: relocation overflow occurred at address 0x0000005c
in section
'.bios' of input file
'F:
/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The 16-bit

relocated address 0x91d0 is too large to encode in the 15-bit
field. You may need to add a mask to the assembly
instruction or
use other target specific assembly features
if you really only need
the lowest 15 bits of this symbol.
Please see the section on
Relocation in the Assembly User's
Guide.
>> error: relocation overflow occurred at address 0x0000006c
in section
'.bios' of input file
'F:
/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The 16-bit

relocated address 0x91d0 is too large to encode in the 15-bit
field. You may need to add a mask to the assembly
instruction or
use other target specific assembly features
if you really only need
the lowest 15 bits of this symbol.
Please see the section on
Relocation in the Assembly User's
Guide.
>> error: relocation value truncated at 0x244 in section .
bios, file
knl_tick_inst.o (F:/apps/CCStudio_v3.
1/C6000/bios/lib/biosi.a62)
>> error: relocation overflow occurred at
address 0x00000098 in section
'.bios' of input file
'F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The 16-
bit
relocated address 0x91d0 is too large to encode in the
15-bit
field. You may need to add a mask to the assembly
instruction or
use other target specific assembly features
if you really only need
the lowest 15 bits of this symbol.
Please see the section on
Relocation in the Assembly User's
Guide.
>> error: relocation overflow occurred at address 0x00000004
in section
'.bios' of input file
'F:
/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The 16-bit

relocated address 0x91d0 is too large to encode in the 15-bit
field. You may need to add a mask to the assembly
instruction or
use other target specific assembly features
if you really only need
the lowest 15 bits of this symbol.
Please see the section on
Relocation in the Assembly User's
Guide.
>> error: relocation overflow occurred at address 0x000000b4
in section
'.bios' of input file
'F:
/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The 16-bit

relocated address 0x91d0 is too large to encode in the 15-bit
field. You may need to add a mask to the assembly
instruction or
use other target specific assembly features
if you really only need
the lowest 15 bits of this symbol.
Please see the section on
Relocation in the Assembly User's
Guide.
>> error: relocation value truncated at 0x4 in section .bios,
file
sys_exit_inst.o (F:/apps/CCStudio_v3.
1/C6000/bios/lib/biosi.a62)
>> error: relocation value truncated at
0xc in section .bios, file
tsk_setu_inst.o (F:
/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62)
>> error: relocation
value truncated at 0x10 in section .bios, file

tsk_stup_inst.o (F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62)
>>
error: relocation value truncated at 0x28 in section .bios, file
tsk_stup_inst.o (F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.
a62)
>> warning: output file './Debug/audio_dsp.out' is not executable

- Mileleo

http://groups.yahoo.com/group/c6x/

c6x-
unsubscribe@unsu...

http://docs.yahoo.com/info/terms/


Mikko,

How far are you off??

Do you have any non-critical code that can go to
external memory??

Can your code be optimized??

If it is close, can you shave the pipes to 1000bytes??

Is there any 'extra junk' in your BIOS config that you
can nuke??

mikedunn

--- "mikko.tasa@mikk..." <mikko.tasa@mikk...>
wrote:

> Hi,
>
> I located the error. I am using 6 PIPs in BIOS/DSP
> configuration.
> When the size of PIP is too large the error occures.
> What is the best
> way to fix this. I need six 1k pipes.
>
> - Mikko > ----Original
> Message----
> From: mikko.tasa@mikk...
> Date: 2005/10/24 21:26
> To:
> <c6x@c6x@...>
> Subj: [c6x] Linker error (relocation (overflow)),
> 6711, CCS 3.1.0
>
> Hi,
>
> I have a linker problem. I tried to find a
> sollution here, but I didn't find the right one. So
> the problem is
> that, I got the error message "error: relocation
> value truncated at
> 0x24 in section .bios". I am using --mem_model = far
> and RTS call =
> far, but it is not helping in this situation. Should
> this be handled
> somehow with -r argument?
>
> [audio_dspcfg_c.c] "F:\apps\CCStudio_v3.
> 1\C6000\cgtools\bin\cl6x" -g -fr"Debug" -i"../"
> -d"CHIP_6711" -mr1 -ms0
> -mv6710 --mem_model:data -@"Debug.lkf"
> "audio_dspcfg_c.c"
>
> [Linking...]
> "F:\apps\CCStudio_v3.1\C6000\cgtools\bin\cl6x"
> -@"Debug.
> lkf"
> <Linking>
> >> error: relocation value truncated at 0x24 in
> section .bios, file
> gbl_cslinit62.o (F:/apps/CCStudio_v3.
> 1/C6000/bios/lib/biosi.a62)
> >> error: relocation value truncated at
> 0x60 in section .bios, file
> clk_start6x.o62 (F:
> /apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62)
> >> error: relocation
> overflow occurred at address 0x00000000 in section
> '.bios'
> of input file
>
> 'F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.
> a62'. The 16-bit
> relocated address 0x91d0 is too large to
>
> encode in the 15-bit
> field. You may need to add a mask to
> the assembly instruction or
> use other target specific
> assembly features if you really only need
> the lowest 15
> bits of this symbol. Please see the section on
> Relocation
> in the Assembly User's Guide.
> >> error: relocation overflow occurred
> at address 0x00000024 in section
> '.bios' of input file
>
> 'F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'.
> The 16-
> bit
> relocated address 0x91d0 is too large to
> encode in the
> 15-bit
> field. You may need to add a mask to the
> assembly
> instruction or
> use other target specific assembly
> features
> if you really only need
> the lowest 15 bits of this symbol.
> Please see the section on
> Relocation in the Assembly User's
> Guide.
> >> error: relocation overflow occurred at address
> 0x0000005c
> in section
> '.bios' of input file
> 'F:
> /apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The
> 16-bit
>
> relocated address 0x91d0 is too large to encode in
> the 15-bit
> field. You may need to add a mask to the
> assembly
> instruction or
> use other target specific assembly
> features
> if you really only need
> the lowest 15 bits of this symbol.
> Please see the section on
> Relocation in the Assembly User's
> Guide.
> >> error: relocation overflow occurred at address
> 0x0000006c
> in section
> '.bios' of input file
> 'F:
> /apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The
> 16-bit
>
> relocated address 0x91d0 is too large to encode in
> the 15-bit
> field. You may need to add a mask to the
> assembly
> instruction or
> use other target specific assembly
> features
> if you really only need
> the lowest 15 bits of this symbol.
> Please see the section on
> Relocation in the Assembly User's
> Guide.
> >> error: relocation value truncated at 0x244 in
> section .
> bios, file
> knl_tick_inst.o (F:/apps/CCStudio_v3.
> 1/C6000/bios/lib/biosi.a62)
> >> error: relocation overflow occurred at
> address 0x00000098 in section
> '.bios' of input file
>
> 'F:/apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'.
> The 16-
> bit
> relocated address 0x91d0 is too large to
> encode in the
> 15-bit
> field. You may need to add a mask to the
> assembly
> instruction or
> use other target specific assembly
> features
> if you really only need
> the lowest 15 bits of this symbol.
> Please see the section on
> Relocation in the Assembly User's
> Guide.
> >> error: relocation overflow occurred at address
> 0x00000004
> in section
> '.bios' of input file
> 'F:
> /apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The
> 16-bit
>
> relocated address 0x91d0 is too large to encode in
> the 15-bit
> field. You may need to add a mask to the
> assembly
> instruction or
> use other target specific assembly
> features
> if you really only need
> the lowest 15 bits of this symbol.
> Please see the section on
> Relocation in the Assembly User's
> Guide.
> >> error: relocation overflow occurred at address
> 0x000000b4
> in section
> '.bios' of input file
> 'F:
> /apps/CCStudio_v3.1/C6000/bios/lib/biosi.a62'. The
> 16-bit
>
> relocated address 0x91d0 is too large to encode in
> the 15-bit
> field. You may need to add a mask to the
> assembly
> instruction or
> use other target specific assembly
> features
> if you really only need
> the lowest 15 bits of this symbol.
> Please see the section on
> Relocation in the Assembly User's
> Guide.
> >> error: relocation value truncated at 0x4 in
> section .bios,
> file
> sys_exit_inst.o (F:/apps/CCStudio_v3.
> 1/C6000/bios/lib/biosi.a62)
> >> error: relocation value truncated at
>
=== message truncated ===