1. 05 Mar, 2006 3 commits
  2. 04 Mar, 2006 1 commit
    • Sam Ravnborg's avatar
      kbuild: kill false positives from section mismatch warnings for powerpc · 9209aed0
      Sam Ravnborg authored
      Building an allmodconfig kernel for ppc64 revealed a number of false
      positives - originally reported by Andrew Morton.
      This patch removes most if not all false positives for ppc64:
      
      Section .opd
      The .opd section contains function descriptors at least for ppc64.
      So ignore it for .init.text (was ignored for .exit.text).
      See description of function descriptors here:
      http://www.linuxbase.org/spec/ELF/ppc64/PPC-elf64abi-1.7.html
      
      Section .toc1
      ppc64 places some static variables in .toc1 - ignore the.
      
      Section __bug_tabe
      BUG() and friends uses __bug_table. Ignore warnings from that section.
      
      Module parameters are placed in .data.rel for ppc64, for adjust pattern to
      match on section named .data*
      
      Tested with gcc: 3.4.0 and binutils 2.15.90.0.3
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      9209aed0
  3. 03 Mar, 2006 1 commit
  4. 27 Feb, 2006 2 commits
  5. 26 Feb, 2006 3 commits
  6. 22 Feb, 2006 3 commits
    • Jan Beulich's avatar
      kbuild: version.h should depend on .kernelrelease · c3f9da90
      Jan Beulich authored
      Rebuilding a previously built tree while using make's -j options from time to
      time results in the version.h check running at the same time as the updating
      of .kernelrelease, resulting in UTS_RELEASE remaining an empty string (and as
      a side effect causing the entire kernel to be rebuilt).
      Signed-Off-By: default avatarJan Beulich <jbeulich@novell.com>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      c3f9da90
    • Sam Ravnborg's avatar
      kbuild: do not warn when unwind sections references .init/.exit sections · 6e10133f
      Sam Ravnborg authored
      Andrew Morton reported a number of false positives for ia64 - like these:
      WARNING: drivers/acpi/button.o - Section mismatch: reference to .init.text: from .IA_64.unwind.init.text after '' (at offset 0x0)
      WARNING: drivers/acpi/button.o - Section mismatch: reference to .exit.text: from .IA_64.unwind.exit.text after '' (at offset 0x0)
      WARNING: drivers/acpi/processor.o - Section mismatch: reference to .init.text: from .IA_64.unwind after '' (at offset 0x1e8)
      
      They are all false positives - or at least the .c code looks OK.
      It is not known why sometimes a section name is appended and sometimes not.
      
      Fix is to accept references from all sections that includes "unwind." in the name.
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      6e10133f
    • akpm@osdl.org's avatar
      kbuild: fix modpost compile with older gcc · fededcd2
      akpm@osdl.org authored
      The kernel now requires that CC be 3.1.0 or higher.  But we shouldn't place
      that requirement upon HOSTCC unless we really need to.  Fixes my ia64 problem.
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
      fededcd2
  7. 19 Feb, 2006 20 commits
  8. 17 Feb, 2006 7 commits