sync avr32 binutils patch with the Atmel 1.0.1 release
[openwrt.git] / toolchain / binutils / patches / 2.17 / 501-avr32-fix-pool-alignment.patch
1 Index: a/gas/config/tc-avr32.c
2 ===================================================================
3 --- a/gas/config/tc-avr32.c (revision 31496)
4 +++ b/gas/config/tc-avr32.c (revision 32014)
5 @@ -3092,6 +3092,8 @@
6
7 /* Make sure the constant pool is properly aligned */
8 frag_align_code(2, 0);
9 + if (bfd_get_section_alignment(stdoutput, pool->section) < 2)
10 + bfd_set_section_alignment(stdoutput, pool->section, 2);
11
12 /* Assume none of the entries are discarded, and that we need the
13 maximum amount of alignment. But we're not going to allocate
This page took 0.040291 seconds and 5 git commands to generate.