forked from Minki/linux
Merge git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes
* git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild-fixes: vmlinux.lds.h: restructure BSS linker script macros kconfig: initialize the screen before using curses(3) functions kconfig: variable argument lists needs `stdarg.h' kbuild, deb-pkg: fix install scripts for posix sh
This commit is contained in:
commit
aea1f7964a
@ -107,7 +107,7 @@ SECTIONS
|
||||
__init_end = .;
|
||||
/* freed after init ends here */
|
||||
|
||||
BSS(4)
|
||||
BSS_SECTION(0, PAGE_SIZE, 4)
|
||||
|
||||
_end = . ;
|
||||
|
||||
|
@ -30,9 +30,7 @@
|
||||
* EXCEPTION_TABLE(...)
|
||||
* NOTES
|
||||
*
|
||||
* __bss_start = .;
|
||||
* BSS_SECTION(0, 0)
|
||||
* __bss_stop = .;
|
||||
* BSS_SECTION(0, 0, 0)
|
||||
* _end = .;
|
||||
*
|
||||
* /DISCARD/ : {
|
||||
@ -489,7 +487,8 @@
|
||||
* bss (Block Started by Symbol) - uninitialized data
|
||||
* zeroed during startup
|
||||
*/
|
||||
#define SBSS \
|
||||
#define SBSS(sbss_align) \
|
||||
. = ALIGN(sbss_align); \
|
||||
.sbss : AT(ADDR(.sbss) - LOAD_OFFSET) { \
|
||||
*(.sbss) \
|
||||
*(.scommon) \
|
||||
@ -498,12 +497,10 @@
|
||||
#define BSS(bss_align) \
|
||||
. = ALIGN(bss_align); \
|
||||
.bss : AT(ADDR(.bss) - LOAD_OFFSET) { \
|
||||
VMLINUX_SYMBOL(__bss_start) = .; \
|
||||
*(.bss.page_aligned) \
|
||||
*(.dynbss) \
|
||||
*(.bss) \
|
||||
*(COMMON) \
|
||||
VMLINUX_SYMBOL(__bss_stop) = .; \
|
||||
}
|
||||
|
||||
/*
|
||||
@ -735,8 +732,10 @@
|
||||
INIT_RAM_FS \
|
||||
}
|
||||
|
||||
#define BSS_SECTION(sbss_align, bss_align) \
|
||||
SBSS \
|
||||
#define BSS_SECTION(sbss_align, bss_align, stop_align) \
|
||||
. = ALIGN(sbss_align); \
|
||||
VMLINUX_SYMBOL(__bss_start) = .; \
|
||||
SBSS(sbss_align) \
|
||||
BSS(bss_align) \
|
||||
. = ALIGN(4);
|
||||
|
||||
. = ALIGN(stop_align); \
|
||||
VMLINUX_SYMBOL(__bss_stop) = .;
|
||||
|
@ -19,6 +19,8 @@
|
||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#include <stdarg.h>
|
||||
|
||||
#include "dialog.h"
|
||||
|
||||
struct dialog_info dlg;
|
||||
|
@ -888,6 +888,8 @@ int main(int ac, char **av)
|
||||
single_menu_mode = 1;
|
||||
}
|
||||
|
||||
initscr();
|
||||
|
||||
getyx(stdscr, saved_y, saved_x);
|
||||
if (init_dialog(NULL)) {
|
||||
fprintf(stderr, N_("Your display is too small to run Menuconfig!\n"));
|
||||
|
@ -89,7 +89,7 @@ for script in postinst postrm preinst prerm ; do
|
||||
set -e
|
||||
|
||||
# Pass maintainer script parameters to hook scripts
|
||||
export DEB_MAINT_PARAMS="\$@"
|
||||
export DEB_MAINT_PARAMS="\$*"
|
||||
|
||||
test -d $debhookdir/$script.d && run-parts --arg="$version" $debhookdir/$script.d
|
||||
exit 0
|
||||
|
Loading…
Reference in New Issue
Block a user