dl01 - 17 PowerPC BSP have relocation truncated

Joel Sherrill joel.sherrill at oarcorp.com
Tue Feb 3 16:33:49 UTC 2015


The following 17 PowerPC BSPs fail in a similar manner.

gwlcfm mpc5566evb mpc5566evb_spe mpc5643l_dpu mpc5643l_evb
mpc5668g mpc5674f_ecu508_app mpc5674f_ecu508_boot mpc5674fevb
mpc5674fevb_spe mpc5674f_rsm6 phycore_mpc5554 qoriq_core_0
qoriq_core_1 qoriq_p1020rdb qoriq_t2080rdb qoriq_t4240rdb

Since they are having a relocation issue which appears to be a section
is this a libdl bug or test too big for target issue?

powerpc-rtems4.11-gcc -B../../../../../gwlcfm/lib/ -specs bsp_specs
-qrtems -mcpu=8540 -meabi -msdata=sysv -fno-common -msoft-float -mno-spe
-D__ppc_generic -mstrict-align -O2 -g -fno-keep-inline-functions -Wall
-Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-prototypes
-Wnested-externs    -mcpu=8540 -meabi -msdata=sysv -fno-common
-msoft-float -mno-spe -D__ppc_generic -mstrict-align   \
            -o dl01.exe init.o dl-load.o dl-tar.o dl-sym.o
dl-sym.o: the target (rtems__rtl_base_globals_size) of a R_PPC_SDAREL16
relocation is in the wrong output section (.rodata)
dl-sym.o: In function `rtems_rtl_base_global_syms_init':
rld--cedaaa.c:(.text+0x2): relocation truncated to fit: R_PPC_SDAREL16
against `rtems__rtl_base_globals_size'

Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985

More information about the devel mailing list