[coreboot-gerrit] Patch merged into coreboot/master: Provide a gcc-safe zero pointer
gerrit at coreboot.org
gerrit at coreboot.org
Thu Jan 28 23:25:57 CET 2016
the following patch was just integrated into master:
commit ff8076d75ace8da247b927f7de37f3ed5081b55e
Author: Patrick Georgi <patrick at georgi-clan.de>
Date: Wed Jan 27 08:18:16 2016 +0100
Provide a gcc-safe zero pointer
zeroptr is a linker object pointing at 0 that can be used to thwart
GCC's (and other compilers') "dereferencing NULL is undefined"
optimization strategy when it gets in the way.
Change-Id: I6aa6f28283281ebae73d6349811e290bf1b99483
Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
Reviewed-on: https://review.coreboot.org/12294
Tested-by: Raptor Engineering Automated Test Stand <noreply at raptorengineeringinc.com>
Tested-by: build bot (Jenkins)
Reviewed-by: Martin Roth <martinroth at google.com>
See https://review.coreboot.org/12294 for details.
-gerrit
More information about the coreboot-gerrit
mailing list