Fixes kernel configuration error.
[openwrt.git] / toolchain / binutils / patches / 2.17 / 501-avr32-fix-pool-alignment.patch
1 --- a/gas/config/tc-avr32.c
2 +++ b/gas/config/tc-avr32.c
3 @@ -3092,6 +3092,8 @@ static void s_cpool(int arg ATTRIBUTE_UN
4
5 /* Make sure the constant pool is properly aligned */
6 frag_align_code(2, 0);
7 + if (bfd_get_section_alignment(stdoutput, pool->section) < 2)
8 + bfd_set_section_alignment(stdoutput, pool->section, 2);
9
10 /* Assume none of the entries are discarded, and that we need the
11 maximum amount of alignment. But we're not going to allocate
This page took 0.038374 seconds and 5 git commands to generate.