the following patch was just integrated into master: commit d23e292ef624ae1000b700399ece00c72946ede1 Author: Aaron Durbin adurbin@chromium.org Date: Fri Mar 22 19:55:35 2013 -0500
rmodule: align ld script with latest x86 ld script
The x86 linker script added a .textfirst section. In order to properly link ramstage as a relocatable module the .textfirst section needs to be included.
Also, the support for code coverage was added by including the constructor section and symbols. Coverage has not been tested as I suspect it might not work in a relocatable environment without some tweaking. However, the section and symbols are there if needed.
Change-Id: Ie1f6d987d6eb657ed4aa3a8918b2449dafaf9463 Signed-off-by: Aaron Durbin adurbin@chromium.org Reviewed-on: http://review.coreboot.org/2883 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer stefan.reinauer@coreboot.org
Build-Tested: build bot (Jenkins) at Sat Mar 23 03:38:57 2013, giving +1 Reviewed-By: Stefan Reinauer stefan.reinauer@coreboot.org at Sat Mar 23 19:36:18 2013, giving +2 See http://review.coreboot.org/2883 for details.
-gerrit