
#10402: powerpc: unhandled ELF relocation(RelA) type 252
-----------------------------------+-----------------------------------
Reporter: cjwatson | Owner: simonmar
Type: bug | Status: patch
Priority: normal | Milestone: 7.10.2
Component: Runtime System | Version: 7.8.4
Resolution: | Keywords:
Operating System: Linux | Architecture: powerpc
Type of failure: Runtime crash | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Revisions:
-----------------------------------+-----------------------------------
Comment (by slyfox):
I think the source of new relocations is GHC itself:
a93ab43ab5f40cadbedea2f6342b93c245e91434
It started generating proper PIC files for all (including .c) code
recently.
{{{
[sf] /tmp:powerpc64-unknown-linux-gnu-gcc -c -m32 -O2 a.c && objdump -d -r
a.o
a.o: file format elf32-powerpc
Disassembly of section .text:
00000000 <g>:
0: 94 21 ff f0 stwu r1,-16(r1)
4: 38 21 00 10 addi r1,r1,16
8: 48 00 00 00 b 8