Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Sep 2015 04:27:58 +0000 (GMT)
From:      jenkins-admin@FreeBSD.org
To:        kib@FreeBSD.org, jenkins-admin@FreeBSD.org, freebsd-current@FreeBSD.org,  freebsd-i386@FreeBSD.org
Subject:   FreeBSD_HEAD_i386 - Build #1164 - Fixed
Message-ID:  <1496982654.29.1442723291699.JavaMail.jenkins@jenkins-9.freebsd.org>
In-Reply-To: <1417158167.27.1442713225946.JavaMail.jenkins@jenkins-9.freebsd.org>
References:  <1417158167.27.1442713225946.JavaMail.jenkins@jenkins-9.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
FreeBSD_HEAD_i386 - Build #1164 - Fixed:

Build information: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/1164/
Full change log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/1164/changes
Full build log: https://jenkins.FreeBSD.org/job/FreeBSD_HEAD_i386/1164/console

Change summaries:

288001 by kib:
Use tabs for indend.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week

288000 by kib:
Add support for weak symbols to the kernel linkers.  It means that
linkers no longer raise an error when undefined weak symbols are
found, but relocate as if the symbol value was 0.  Note that we do not
repeat the mistake of userspace dynamic linker of making the symbol
lookup prefer non-weak symbol definition over the weak one, if both
are available.  In fact, kernel linker uses the first definition
found, and ignores duplicates.

Signature of the elf_lookup() and elf_obj_lookup() functions changed
to split result/error code and the symbol address returned.
Otherwise, it is impossible to return zero address as the symbol
value, to MD relocation code.  This explains the mechanical changes in
elf_machdep.c sources.

The powerpc64 R_PPC_JMP_SLOT handler did not checked error from the
lookup() call, the patch leaves the code as is (untested).

Reported by:	glebius
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1496982654.29.1442723291699.JavaMail.jenkins>