This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

RTOS: bss section of EVE



Tool/software: TI-RTOS

Hello,

I want to know,

1. where is the bss section of EVE is defined ?

2. Weather it is configurable ?

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

I have added some code in vision_sdk/apps/src/rtos/draw2d/draw2d_font_bmp.c file to execute on arp32.

code snippet:

Int32 Draw2D_getFontProperty(Draw2D_FontPrm *pPrm, Draw2D_FontProperty *pProp)
{

    if(pProp==NULL)
        return SYSTEM_LINK_STATUS_EINVALID_PARAMS;

    #if defined(BUILD_M4_0) || defined(BUILD_M4_2) || defined(BUILD_A15) || defined(BUILD_ARP32)
    /* default */
    Draw2D_getFontProperty00(pProp); /* default */

    if(pPrm!=NULL)
    {
        if(pPrm->fontIdx==0)
            Draw2D_getFontProperty00(pProp);
        else
        if(pPrm->fontIdx==1)
            Draw2D_getFontProperty01(pProp);
        else
 .

 .

.

This gives me compile time error as,

 

error: unresolved symbols remain
warning: Section ".bss" requires a STATIC_BASE relative relocation, but is
   located at 0x8048349c, which is probably out of range of the STATIC_BASE.
   STATIC_BASE is located at 0x803d9b68. Might be required to correct
   placement of ".bss" so it lies within 0x8000 of the STATIC_BASE.
warning: Section ".rodata" requires a STATIC_BASE relative relocation, but is
   located at 0x804835d4, which is probably out of range of the STATIC_BASE.
   STATIC_BASE is located at 0x803d9b68. Might be required to correct
   placement of ".rodata" so it lies within 0x8000 of the STATIC_BASE.
warning: Section ".data" requires a STATIC_BASE relative relocation, but is
   located at 0x804838e0, which is probably out of range of the STATIC_BASE.
   STATIC_BASE is located at 0x803d9b68. Might be required to correct
   placement of ".data" so it lies within 0x8000 of the STATIC_BASE.
error: errors encountered during linking;
   "vision_sdk/binaries/apps/tda2xx_evm_bios_all
   /vision_sdk/bin/tda2xx-evm/vision_sdk_arp32_1_release.xearp32F" not built

I want that functions( ex.: Draw2D_getFontProperty00() ) to be execute on EVE also.

How do i resolve this??

Regards,

Kajal