commit | 8b141dd83ecd06b385a81dfcb4ca8d1fd61a8703 | [log] [tgz] |
---|---|---|
author | Andrew Boie <andrew.p.boie@intel.com> | Mon Aug 14 13:26:23 2017 -0700 |
committer | Andrew Boie <andrewboie@gmail.com> | Wed Aug 16 10:59:10 2017 -0700 |
tree | 1ff6d2da0a94363a0814c905f8938cd348bf530c | |
parent | 0cf680895b9d1b996ab4415d0c77ccdf75f338b5 [diff] |
xcc: fix __in_section_unique() and __COUNTER__ XCC assembler freaks out if a section name has __FILE__ in it, forward slashes and quotation marks confuse it and result in build errors. This is not a perfect fix, its possible for two sections to collide, but at worst this will result is some unnecessary space in noinit, fooling gc-sections. XCC also doesn't support __COUNTER__, use __LINE__ as a substitute. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>