in "upgrading" the binutils-2.17 patches for 2.18, i'm confused by
the following file:

  binutils/patches/2.17/501-avr32-fix-pool-alignment.patch

contents:

Index: a/gas/config/tc-avr32.c
===================================================================
--- a/gas/config/tc-avr32.c     (revision 31496)
+++ b/gas/config/tc-avr32.c     (revision 32014)
@@ -3092,6 +3092,8 @@

   /* Make sure the constant pool is properly aligned */
   frag_align_code(2, 0);
+  if (bfd_get_section_alignment(stdoutput, pool->section) < 2)
+    bfd_set_section_alignment(stdoutput, pool->section, 2);

   /* Assume none of the entries are discarded, and that we need the
      maximum amount of alignment.  But we're not going to allocate

  but there *is* no such file "gas/config/tc-avr32.c" in
binutils-2.17, so what is that patch supposed to represent?  there
*is* a tc-avr.c, but that shouldn't matter.  and i'm assuming that all
of these package patches are to be applied to the original source
before any configuration, yes?

  so i'm not sure what that patch file is doing.  or am i must
misunderstanding something basic about the patch process?

rday


p.s.  that patch definitely doesn't apply to tc-avr.c, in case you
were wondering.  :-)
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

Home page:                                         http://crashcourse.ca
Fedora Cookbook:    http://crashcourse.ca/wiki/index.php/Fedora_Cookbook
========================================================================
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to