1. 18 7月, 2009 4 次提交
    • T
      vmlinux.lds.h: restructure BSS linker script macros · 04e448d9
      Tim Abbott 提交于
      The BSS section macros in vmlinux.lds.h currently place the .sbss
      input section outside the bounds of [__bss_start, __bss_end].  On all
      architectures except for microblaze that handle both .sbss and
      __bss_start/__bss_end, this is wrong: the .sbss input section is
      within the range [__bss_start, __bss_end].  Relatedly, the example
      code at the top of the file actually has __bss_start/__bss_end defined
      twice; I believe the right fix here is to define them in the
      BSS_SECTION macro but not in the BSS macro.
      
      Another problem with the current macros is that several
      architectures have an ALIGN(4) or some other small number just before
      __bss_stop in their linker scripts.  The BSS_SECTION macro currently
      hardcodes this to 4; while it should really be an argument.  It also
      ignores its sbss_align argument; fix that.
      
      mn10300 is the only user at present of any of the macros touched by
      this patch.  It looks like mn10300 actually was incorrectly converted
      to use the new BSS() macro (the alignment of 4 prior to conversion was
      a __bss_stop alignment, but the argument to the BSS macro is a start
      alignment).  So fix this as well.
      
      I'd like acks from Sam and David on this one.  Also CCing Paul, since
      he has a patch from me which will need to be updated to use
      BSS_SECTION(0, PAGE_SIZE, 4) once this gets merged.
      Signed-off-by: NTim Abbott <tabbott@ksplice.com>
      Cc: Paul Mundt <lethal@linux-sh.org>
      Cc: David Howells <dhowells@redhat.com>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      04e448d9
    • A
      kconfig: initialize the screen before using curses(3) functions · d0e1e095
      Arnaud Lacombe 提交于
      This is needed on non ncurses based implementation to get a properly
      initialized `stdscr' in main().
      
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      d0e1e095
    • A
      kconfig: variable argument lists needs `stdarg.h' · 668cdedf
      Arnaud Lacombe 提交于
      Fix build on non GNU based platforms.
      
      Cc: Roman Zippel <zippel@linux-m68k.org>
      Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
      668cdedf
    • M
      kbuild, deb-pkg: fix install scripts for posix sh · 241ad11f
      maximilian attems 提交于
      bash versus dash and posh disagree on expanding $@ within double quotes:
      export x="$@"
      see http://bugs.debian.org/381091 for details
      just use the arglist with $*.
      
      dpkg: error processing linux-image-2.6.31-rc1_2.6.31-rc1-18_i386.deb (--install):
       subprocess pre-installation script returned error exit status 2
      export: 6: 2.6.31-rc1-18: bad variable name
      fixes http://bugzilla.kernel.org/show_bug.cgi?id=13567
      
      seen on Ubuntu as there dash is the default sh,
      versus bash on Debian.
      Reported-by: NPauli <suokkos@gmail.com>
      Cc: Frans Pop <elendil@planet.nl>
      Signed-off-by: Nmaximilian attems <max@stro.at>
      Acked-By: NAndres Salomon <dilinger@collabora.co.uk>
      241ad11f
  2. 17 7月, 2009 11 次提交
  3. 16 7月, 2009 1 次提交
  4. 15 7月, 2009 23 次提交
  5. 14 7月, 2009 1 次提交