coreboot-kgpe-d16/src/arch/x86
Patrick Georgi eec8dfb5e7 build system: use archives, not linker action to shorten command lines
Intermediate linking may distort linker behavior (in particular related to
weak symbols). The idea is that archives are closer to 'just a list of
object files', and ideally makes the linker more predictable.

Using --whole-archive, the linker doesn't optimize out object files just
because their symbols were already provided by weak versions. However it
shouldn't be used for libgcc, because that one has some unexpected side-effects.

Change-Id: Ie226c198a93bcdca2d82c02431c72108a1c6ea60
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: http://review.coreboot.org/10139
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: Raptor Engineering Automated Test Stand <noreply@raptorengineeringinc.com>
2015-05-20 08:03:06 +02:00
..
acpi misc,ASL: Trivial - drop trailing blank lines at EOF 2014-07-17 02:18:01 +02:00
boot Unify byte order macros and clrsetbits 2015-04-21 08:23:25 +02:00
include Unify byte order macros and clrsetbits 2015-04-21 08:23:25 +02:00
init New mechanism to define SRAM/memory map with automatic bounds checking 2015-04-06 22:05:01 +02:00
lib New mechanism to define SRAM/memory map with automatic bounds checking 2015-04-06 22:05:01 +02:00
Kconfig x86: Support reset routines in bootblock 2015-04-10 20:28:45 +02:00
Makefile.inc build system: use archives, not linker action to shorten command lines 2015-05-20 08:03:06 +02:00
ramstage.ld New mechanism to define SRAM/memory map with automatic bounds checking 2015-04-06 22:05:01 +02:00