You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Recent versions of binutils/gcc started generating code with R_68K_PC32 on m68k. Elf2Hunk tries to use RELRELOC32 to store these - however RELRELOC32 can only handle 16bit offsets and upto 65k relocations per hunk.
This breaks in many places on aros including -:
Linking the ROM, uses offsets over the supported size for RELRELOC32.
Linking many c++ objects (e.g. Mesa) fail due to having offsets over the supported size.
To Reproduce
Steps to reproduce the behavior:
Compile AROS for m68k.
Expected behaviour
Relocations are fixed up correctly.
Screenshots
If applicable, add screenshots to help explain your problem.
Architecture
Amiga (including UAE, Vampire cards)
CPU
m68k
Version
All using relatively new binutils versions.
Additional context
Possible solutions include making Elf2Hunk use some other method of relocating R_68K_PC32
The text was updated successfully, but these errors were encountered:
Describe the bug
Recent versions of binutils/gcc started generating code with R_68K_PC32 on m68k. Elf2Hunk tries to use RELRELOC32 to store these - however RELRELOC32 can only handle 16bit offsets and upto 65k relocations per hunk.
This breaks in many places on aros including -:
To Reproduce
Steps to reproduce the behavior:
Compile AROS for m68k.
Expected behaviour
Relocations are fixed up correctly.
Screenshots
If applicable, add screenshots to help explain your problem.
Architecture
CPU
Version
All using relatively new binutils versions.
Additional context
Possible solutions include making Elf2Hunk use some other method of relocating R_68K_PC32
The text was updated successfully, but these errors were encountered: