1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/devel/binutils
Andrew Turner 263f32f717 Fix booting the arm64 kernel when built with clang 3.9.0
Clang 3.9.0 changes how weak extern is handled. They now use the got to
handle them. This is a problem as ld.bfd doesn't fill out any default value
in the got so pointers become NULL. This caused the kernel to fail to boot
as we use this in linker sets.

This fixes the issue by setting a default value in the got. The kernel
still loads data through it, but because we always load it at a fixed
virtual address the address it finds is valid.

Approved by:	bapt
Differential Revision:	https://reviews.freebsd.org/D8622
2016-11-29 13:44:46 +00:00
..
files Fix booting the arm64 kernel when built with clang 3.9.0 2016-11-29 13:44:46 +00:00
distinfo
Makefile Fix booting the arm64 kernel when built with clang 3.9.0 2016-11-29 13:44:46 +00:00
pkg-descr
pkg-plist Remove from the package some binaries to avoid conflicts 2016-08-27 12:20:17 +00:00