diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2016-03-09 08:27:03 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2016-03-09 08:32:46 -0800 |
commit | fd91f0024caec4cbca0c53a175cfaa9bc2c5dc5a (patch) | |
tree | 0160e4ff7af63f86b7a58279b0e4aa24ebafbfe8 /binutils/unwind-ia64.h | |
parent | bc0e3f49c84055034cae31bba169100d107b28f4 (diff) | |
download | gdb-fd91f0024caec4cbca0c53a175cfaa9bc2c5dc5a.zip gdb-fd91f0024caec4cbca0c53a175cfaa9bc2c5dc5a.tar.gz gdb-fd91f0024caec4cbca0c53a175cfaa9bc2c5dc5a.tar.bz2 |
Workaround a C++ bug in GCC 4.2 in gold test
G++ in GCC 4.2 silently ignores
---
__attribute__ ((section(".rodata.v1_a2")))
const short rodata_item1 = 101;
---
which leads to plugin_layout_with_alignment test failure with
Expected 12 sections, found 8 sections
since 4 .rodata sections are missing. As a workaround, this patch
changes plugin_layout_with_alignment test from C++ to C.
* testsuite/plugin_layout_with_alignment.cc: Renamed to ..
* testsuite/plugin_layout_with_alignment.c: This.
* testsuite/Makefile.am (plugin_layout_with_alignment.o): Updated.
(plugin_layout_with_alignment): Likewise.
* testsuite/Makefile.in: Regenerated.
Diffstat (limited to 'binutils/unwind-ia64.h')
0 files changed, 0 insertions, 0 deletions