CVSROOT: /cvs
Module name: ports
Changes by: [email protected] 2017/02/16 08:07:16
Modified files:
devel/llvm : Makefile
Log message:
Use -mlong-calls on arm and powerpc to work around relocations overflow
On those architectures the .text section of the executables is too big
for the 32M immediate branch offset. ld --relax is supposed to fix
things on powerpc, but it is actually ineffective here. cc -mlong-calls
creates branches instructions using a full 32 bits register; FreeBSD
uses the same workaround.
A fix for lib/csu is still needed to avoid an overflow between .init
and .fini sections. powerpc hasn't been tested, but we know that
devel/llvm is already broken there anyway.
ok Brad (maintainer)