Get rid of .car.global_data warnings for GCC build
commitad4fa21705e66a0f350597da043c845aa79bce99
authorMartin Roth <gaumless@gmail.com>
Fri, 23 Jan 2015 02:10:10 +0000 (22 19:10 -0700)
committerMartin Roth <gaumless@gmail.com>
Mon, 9 Feb 2015 16:44:02 +0000 (9 17:44 +0100)
tree8da8cbd37972b0374f003d94806caed6931f29d0
parentcd02ef19e5b26abf2b35a47b31f31e0cde3a9820
Get rid of .car.global_data warnings for GCC build

The "used" attribute was added in commit 27cf2472 which caused these
warnings to start appearing when using the standard coreboot GCC
toolchain:

{standard input}: Assembler messages:
{standard input}:96: Warning: ignoring changed section type for .car.global_data
{standard input}:96: Warning: ignoring changed section attributes for
.car.global_data

The # at the end of the section name causes the assembler to
ignore everything following the name. I verified that the resulting
binaries are the same with and without the #.

Change-Id: Iaac8042533842ed887f33895f083b613a18f496a
Signed-off-by: Martin Roth <gaumless@gmail.com>
Reviewed-on: http://review.coreboot.org/8301
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@google.com>
src/arch/x86/include/arch/early_variables.h