[coreboot-gerrit] Patch merged into coreboot/master: program.ld: make sure that zeroptr isn't assigned to debug sections

gerrit at coreboot.org gerrit at coreboot.org
Sat Apr 16 01:50:47 CEST 2016


the following patch was just integrated into master:
commit fab8ae77cb1a0fc078a4ddced50b3d30dec1df85
Author: Patrick Georgi <pgeorgi at chromium.org>
Date:   Wed Apr 13 20:55:34 2016 +0200

    program.ld: make sure that zeroptr isn't assigned to debug sections
    
    Some ld versions seem to merge the .zeroptr section (NOLOAD, address 0)
    with some debug sections (NOLOAD, address 0) which makes the build
    explode when the debug sections are then stripped (including the zeroptr
    symbol).
    
    Just define zeroptr to be 0, no sections needed, to avoid this
    "optimization".
    Checked the objdump -dS of code using it that the accesses look sane.
    
    Change-Id: Ia7cb3e5eae87076caf479d5ae9155a02f74b5663
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
    Reviewed-on: https://review.coreboot.org/14344
    Tested-by: build bot (Jenkins)
    Reviewed-by: Stefan Reinauer <stefan.reinauer at coreboot.org>


See https://review.coreboot.org/14344 for details.

-gerrit



More information about the coreboot-gerrit mailing list