update AVR32 binutils patches
[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
14 Index: a/bfd/configure.in
15 ===================================================================
16 --- a/bfd/configure.in  (revision 31496)
17 +++ b/bfd/configure.in  (revision 32014)
18 @@ -8,7 +8,7 @@
19  AC_CANONICAL_TARGET
20  AC_ISC_POSIX
21  
22 -AM_INIT_AUTOMAKE(bfd, 2.17.atmel.1.2.0)
23 +AM_INIT_AUTOMAKE(bfd, 2.17.atmel.1.2.1)
24  
25  dnl These must be called before AM_PROG_LIBTOOL, because it may want
26  dnl to call AC_CHECK_PROG.