we don't use Atmel version numbers
[openwrt-10.03/.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