coreboot-kgpe-d16/src/arch/x86
Stefan Reinauer 4c8fa2aad2 Unconditionally compile romstage with -Wa,--divide
The option --divide is required by our assembler to ensure that
'/' is not parsed as a comment sign but as a division, because
some of the cache as ram code is using divisions.

The --divide parameter has been part of the GNU as since binutils 2.17.
Hence, compile romstage (which contains cache as ram init) with
-Wa,--divide unconditionally instead of probing for it and adding it to
all compiler invocations (because that is causing random trouble with
clang when compiling the SMM code and calling gcc with --divide instead of
-Wa,--divide)

Change-Id: Ideefb2a243dc1d657ba415a99c1f8ab1d93800e0
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/10817
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-07-07 17:40:09 +02:00
..
acpi Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
boot smbios: Calculate SMBIOS Max Struct size 2015-07-07 08:23:33 +02:00
include x86: make PCI MMIO CFG functions 64bit proof 2015-06-22 07:34:28 +02:00
init x86: Move architecture selection from linker script to Makefile.inc 2015-06-26 22:44:10 +02:00
lib x86: make memcpy 64bit safe 2015-06-20 18:15:01 +02:00
Kconfig acpi: bring back ability to link DSDT into ramstage 2015-06-23 21:19:02 +02:00
Makefile.inc Unconditionally compile romstage with -Wa,--divide 2015-07-07 17:40:09 +02:00
ramstage.ld New mechanism to define SRAM/memory map with automatic bounds checking 2015-04-06 22:05:01 +02:00