PowerPC issues with binutils-2.28

Chris Johns chrisj at rtems.org
Fri May 19 06:45:24 UTC 2017


On 19/05/2017 15:14, Sebastian Huber wrote:
> On 18/05/17 12:42, Chris Johns wrote:
>> ../../../../../mcp750/lib/bootloader.o: In function `start':
>> /opt/work/chris/rtems/kernel/rtems.git/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/../../../powerpc/shared/bootloader/head.S:140:(.text+0x8a): 
>>
>> dangerous relocation: generic linker can't handle R_PPC_SECTOFF_HA
>> /opt/work/chris/rtems/kernel/rtems.git/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/../../../powerpc/shared/bootloader/head.S:141:(.text+0x8e): 
>>
>> dangerous relocation: generic linker can't handle R_PPC_SECTOFF_LO
>> /opt/work/chris/rtems/kernel/rtems.git/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/../../../powerpc/shared/bootloader/head.S:157:(.text+0xb2): 
>>
>> dangerous relocation: generic linker can't handle R_PPC_SECTOFF_HA
>> /opt/work/chris/rtems/kernel/rtems.git/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/../../../powerpc/shared/bootloader/head.S:159:(.text+0xba): 
>>
>> dangerous relocation: generic linker can't handle R_PPC_SECTOFF_LO
> 
> I don't know what this code is supposed to do. I never used the GOT on 
> PowerPC with RTEMS.
> 

I do not know either and do not use the PowerPC.

There has been some binutils changes in this area recently. I suppose we 
can take the PowerPC out of the rtems-defaults.bset to upgrade. There 
are merged SPARC patches we need in binutils-2.28.

Chris



More information about the devel mailing list