]> git.ipfire.org Git - thirdparty/grub.git/log
thirdparty/grub.git
11 years ago * conf/Makefile.common (CFLAGS_GNULIB): Remove -Wno-old-style-definition
Vladimir Serbinenko [Wed, 4 Dec 2013 13:32:04 +0000 (14:32 +0100)] 
* conf/Makefile.common (CFLAGS_GNULIB): Remove -Wno-old-style-definition
as it's no longer necessarry.

11 years ago * configure.ac: Allow compilation with older GCC for ARM.
Vladimir Serbinenko [Wed, 4 Dec 2013 11:42:09 +0000 (12:42 +0100)] 
* configure.ac: Allow compilation with older GCC for ARM.

11 years ago * configure.ac: Add -no-integrated-as if {addme|ame} isn't supported.
Vladimir Serbinenko [Wed, 4 Dec 2013 11:20:56 +0000 (12:20 +0100)] 
* configure.ac: Add -no-integrated-as if {addme|ame} isn't supported.
* INSTALL: Note that GRUBwas successfully compiled with clang 3.2 for
ppc.

11 years ago * grub-core/kern/emu/main.c: Ignore missing prototype for main.
Vladimir Serbinenko [Wed, 4 Dec 2013 09:28:23 +0000 (10:28 +0100)] 
* grub-core/kern/emu/main.c: Ignore missing prototype for main.

11 years ago Pass font config to config.h and not by TARGET_CFLAGS as adding
Vladimir Serbinenko [Wed, 4 Dec 2013 09:25:53 +0000 (10:25 +0100)] 
Pass font config to config.h and not by TARGET_CFLAGS as adding
arguments doesn't work if TARGET_CFLAGS is specified on command
line.

11 years ago * configure.ac: Add -Wvla if compiler supports it.
Vladimir Serbinenko [Wed, 4 Dec 2013 09:08:57 +0000 (10:08 +0100)] 
* configure.ac: Add -Wvla if compiler supports it.

11 years ago * grub-core/osdep/windows/emuconsole.c (grub_console_putchar):
Vladimir Serbinenko [Wed, 4 Dec 2013 09:05:33 +0000 (10:05 +0100)] 
* grub-core/osdep/windows/emuconsole.c (grub_console_putchar):
Remove variable length arrays.
* grub-core/term/efi/console.c (grub_console_putchar): Likewise.

11 years ago * grub-core/kern/i386/qemu/init.c: Remove variable length arrays.
Vladimir Serbinenko [Wed, 4 Dec 2013 08:48:36 +0000 (09:48 +0100)] 
* grub-core/kern/i386/qemu/init.c: Remove variable length arrays.

11 years ago * include/grub/types.h: Declare all byteswaps as inline functions
Vladimir Serbinenko [Wed, 4 Dec 2013 07:42:35 +0000 (08:42 +0100)] 
* include/grub/types.h: Declare all byteswaps as inline functions
except compile-time ones.

Solves variable shadowing in constructions like
cpu_to_le (le_to_cpu(x) + 1).

11 years ago * grub-core/kern/efi/efi.c: Remove variable length arrays.
Vladimir Serbinenko [Wed, 4 Dec 2013 07:39:22 +0000 (08:39 +0100)] 
* grub-core/kern/efi/efi.c: Remove variable length arrays.

11 years ago * grub-core/kern/uboot/init.c (uboot_timer_ms): Fix overflow after 71
Vladimir Serbinenko [Wed, 4 Dec 2013 07:26:13 +0000 (08:26 +0100)] 
* grub-core/kern/uboot/init.c (uboot_timer_ms): Fix overflow after 71
minutes.

11 years ago * grub-core/disk/ieee1275/ofdisk.c: Remove variable length arrays.
Vladimir Serbinenko [Wed, 4 Dec 2013 07:10:01 +0000 (08:10 +0100)] 
* grub-core/disk/ieee1275/ofdisk.c: Remove variable length arrays.
* grub-core/net/drivers/ieee1275/ofnet.c: Likewise.

11 years ago* grub-core/Makefile.core.def (setjmp): Distribute
Colin Watson [Tue, 3 Dec 2013 18:11:18 +0000 (18:11 +0000)] 
* grub-core/Makefile.core.def (setjmp): Distribute
lib/arm64/setjmp.S.

11 years agoMerge branch 'cjwatson/timeout-style'
Colin Watson [Tue, 3 Dec 2013 16:15:45 +0000 (16:15 +0000)] 
Merge branch 'cjwatson/timeout-style'

11 years agoCredit and bug reference.
Colin Watson [Tue, 3 Dec 2013 16:14:01 +0000 (16:14 +0000)] 
Credit and bug reference.

11 years agoReduce nesting level.
Colin Watson [Tue, 3 Dec 2013 16:11:00 +0000 (16:11 +0000)] 
Reduce nesting level.

11 years ago * util/config.c: Add missing pointer adjustment.
Vladimir Serbinenko [Mon, 2 Dec 2013 05:51:13 +0000 (06:51 +0100)] 
* util/config.c: Add missing pointer adjustment.
Reported by: qwertial

11 years agofix libgrub.pp build post arm64 merge
Andrey Borzenkov [Sat, 30 Nov 2013 18:36:10 +0000 (22:36 +0400)] 
fix libgrub.pp build post arm64 merge

grub-core/kern/arm64/dl_helper.c:26:28: fatal error: grub/cpu/reloc.h: No such file or directory

11 years agoMissing ChangeLog entry
Vladimir Serbinenko [Sat, 30 Nov 2013 15:51:35 +0000 (16:51 +0100)] 
Missing ChangeLog entry

11 years agoNew port arm64-efi
Leif Lindholm [Sat, 30 Nov 2013 15:49:05 +0000 (16:49 +0100)] 
New port arm64-efi

11 years agodocument sleep command exit codes
Andrey Borzenkov [Sat, 30 Nov 2013 10:57:11 +0000 (14:57 +0400)] 
document sleep command exit codes

11 years ago Ensure that -mno-unaligned-access or some equivalent option is used.
Vladimir Serbinenko [Sat, 30 Nov 2013 10:31:14 +0000 (11:31 +0100)] 
Ensure that -mno-unaligned-access or some equivalent option is used.

11 years ago * grub-core/lib/libgcrypt/mpi/longlong.h: Fix compilation error with
Vladimir Serbinenko [Sat, 30 Nov 2013 10:19:06 +0000 (11:19 +0100)] 
* grub-core/lib/libgcrypt/mpi/longlong.h: Fix compilation error with
-march=armv3.

11 years ago Remove leftover GRUB_IA64_DL_TRAMP_SIZE.
Vladimir Serbinenko [Sat, 30 Nov 2013 10:14:30 +0000 (11:14 +0100)] 
Remove leftover GRUB_IA64_DL_TRAMP_SIZE.

11 years agoRemove a few references to GRUB_HIDDEN_TIMEOUT*
Colin Watson [Fri, 29 Nov 2013 17:19:37 +0000 (17:19 +0000)] 
Remove a few references to GRUB_HIDDEN_TIMEOUT*

Reported by Andrey Borzenkov.

11 years agoConsolidate timeout generation code a bit.
Colin Watson [Fri, 29 Nov 2013 16:11:53 +0000 (16:11 +0000)] 
Consolidate timeout generation code a bit.

11 years agoConsistently ignore GRUB_TIMEOUT if GRUB_HIDDEN_TIMEOUT is set
Colin Watson [Fri, 29 Nov 2013 15:30:44 +0000 (15:30 +0000)] 
Consistently ignore GRUB_TIMEOUT if GRUB_HIDDEN_TIMEOUT is set

Pointed out by Vladimir Serbinenko.

11 years agoFix documentation of behaviour after pressing ESC
Colin Watson [Fri, 29 Nov 2013 15:25:43 +0000 (15:25 +0000)] 
Fix documentation of behaviour after pressing ESC

Pointed out by Andrey Borzenkov.

11 years agoAdd GRUB_TIMEOUT_STYLE_BUTTON support
Colin Watson [Fri, 29 Nov 2013 15:18:05 +0000 (15:18 +0000)] 
Add GRUB_TIMEOUT_STYLE_BUTTON support

Suggested by Vladimir Serbinenko.

11 years agoMove deprecated grub-mkconfig options to a separate table
Colin Watson [Fri, 29 Nov 2013 14:59:25 +0000 (14:59 +0000)] 
Move deprecated grub-mkconfig options to a separate table

Suggested by Andrey Borzenkov.

11 years agoFix "make -C docs dvi"
Colin Watson [Fri, 29 Nov 2013 13:48:23 +0000 (13:48 +0000)] 
Fix "make -C docs dvi"

* docs/grub-dev.texi (Font Metrics): Exclude @image command from DVI
builds, since we don't have an EPS version of font_char_metrics.png.
Add leading dot to image extension per the Texinfo documentation.

11 years agoFix build with FreeType 2.5.1
Colin Watson [Fri, 29 Nov 2013 12:19:36 +0000 (12:19 +0000)] 
Fix build with FreeType 2.5.1

* util/grub-gen-asciih.c: Include FT_SYNTHESIS_H rather than
<freetype/ftsynth.h>, fixing build with FreeType 2.5.1.
* util/grub-gen-widthspec.c: Likewise.
* util/grub-mkfont.c: Likewise.

11 years agofix using grub device name as install device
Andrey Borzenkov [Fri, 29 Nov 2013 07:32:34 +0000 (11:32 +0400)] 
fix using grub device name as install device

Shell version of grub-install called grub-setup which resolved
install device name and called main setup routine. C version of
grub-install calls main setup routine directly, which leads
to the error:

grub2-install: info: grub-bios-setup  --verbose  --force  --skip-fs-probe --directory='/boot/grub2/i386-pc' --device-map='/boot/grub2/device.map' '(hd2)'.
grub2-install: info: reading /boot/grub2/i386-pc/boot.img.
grub2-install: info: reading /boot/grub2/i386-pc/core.img.
grub2-install: info: root is `(null)', dest is `(hd2)'.
grub2-install: info: Opening dest.
grub2-install: info: drive = -1.
grub2-install: error: disk `(hd2)' not found.

Move resolving of destination device name into main setup routine
so it is done consistently in both cases.

11 years ago * grub-core/kern/emu/hostfs.c (is_dir): Remove variable length arrays.
Vladimir Serbinenko [Fri, 29 Nov 2013 04:52:20 +0000 (05:52 +0100)] 
* grub-core/kern/emu/hostfs.c (is_dir): Remove variable length arrays.

11 years ago * util/grub-fstest.c: Remove variable length arrays.
Vladimir Serbinenko [Fri, 29 Nov 2013 04:50:32 +0000 (05:50 +0100)] 
* util/grub-fstest.c: Remove variable length arrays.

11 years ago * grub-core/osdep/linux/ofpath.c: Check return value of read.
Vladimir Serbinenko [Fri, 29 Nov 2013 04:46:19 +0000 (05:46 +0100)] 
* grub-core/osdep/linux/ofpath.c: Check return value of read.

11 years ago * util/mkimage.c (grub_install_generate_image): Use grub_crypto_hash for
Vladimir Serbinenko [Fri, 29 Nov 2013 03:14:26 +0000 (04:14 +0100)] 
* util/mkimage.c (grub_install_generate_image): Use grub_crypto_hash for
computing crc32 rather than handling with md fundtions directly.

11 years ago * util/mkimage.c (grub_install_generate_image): Use grub_crypto_hash for
Vladimir Serbinenko [Fri, 29 Nov 2013 03:05:44 +0000 (04:05 +0100)] 
* util/mkimage.c (grub_install_generate_image): Use grub_crypto_hash for
checking fwstart.img rather than md fundtions directly.

11 years ago * util/grub-mkrescue.c (main): Check that fread succeeded.
Vladimir Serbinenko [Fri, 29 Nov 2013 02:54:21 +0000 (03:54 +0100)] 
* util/grub-mkrescue.c (main): Check that fread succeeded.

11 years ago* conf/Makefile.common: Remove -mexplicit-relocs and -DUSE_ASCII_FALLBACK on yeeloong.
Vladimir Serbinenko [Fri, 29 Nov 2013 02:45:50 +0000 (03:45 +0100)] 
* conf/Makefile.common: Remove -mexplicit-relocs and -DUSE_ASCII_FALLBACK on yeeloong.

-DUSE_ASCII_FALLBACK is already added by font snippets.
-mexplicit-relocs isn't needed is compiler/assemblera are
configured properly.
If they're not we shouldn't attempt to fix it by ourselves.
Binary compare between before and after shows no difference.

11 years agoRemove libgnulib.a and use its sources in dependencies directly.
Vladimir Serbinenko [Fri, 29 Nov 2013 02:36:50 +0000 (03:36 +0100)] 
Remove libgnulib.a and use its sources in dependencies directly.

This was the only instance of "library" in core config. A bug was
reported that -fno-stack-protector wasn't passed to it. Instead of
figuring out why it failed just remove this construction used
needlessly.

11 years ago * grub-core/osdep/unix/password.c (grub_password_get): Check that
Vladimir Serbinenko [Fri, 29 Nov 2013 02:32:57 +0000 (03:32 +0100)] 
* grub-core/osdep/unix/password.c (grub_password_get): Check that
fgets succeeded.

11 years agoFix command description in case of a device name passed as argument.
Francesco Lavra [Thu, 28 Nov 2013 13:25:52 +0000 (17:25 +0400)] 
Fix command description in case of a device name passed as argument.

11 years agoFix documentation of timeout expiry.
Colin Watson [Thu, 28 Nov 2013 11:01:53 +0000 (11:01 +0000)] 
Fix documentation of timeout expiry.

11 years agoRevamp hidden timeout handling
Colin Watson [Thu, 28 Nov 2013 02:27:13 +0000 (02:27 +0000)] 
Revamp hidden timeout handling

Add a new timeout_style environment variable and a corresponding
GRUB_TIMEOUT_STYLE configuration key for grub-mkconfig.  This
controls hidden-timeout handling more simply than the previous
arrangements, and pressing any hotkeys associated with menu entries
during the hidden timeout will now boot the corresponding menu entry
immediately.

GRUB_HIDDEN_TIMEOUT=<non-empty> + GRUB_TIMEOUT=<non-zero> now
generates a warning, and if it shows the menu it will do so as if
the second timeout were not present.  Other combinations are
translated into reasonable equivalents.

11 years ago Eliminate variable length arrays in grub_vsnprintf_real.
Vladimir Serbinenko [Wed, 27 Nov 2013 14:16:09 +0000 (15:16 +0100)] 
Eliminate variable length arrays in grub_vsnprintf_real.

A bit tricky because this function has to continue to work without
heap for short strings. Fixing prealloc to 32 arguments is reasonable
but make all stack references use 32-bit offset rather than 8-bit one.
So split va_args preparsing to separate function and put the prealloc
into the caller.

11 years ago Introduce grub_util_file_sync and use it instead of fsync(fileno(f)).
Vladimir Serbinenko [Wed, 27 Nov 2013 13:13:50 +0000 (14:13 +0100)] 
Introduce grub_util_file_sync and use it instead of fsync(fileno(f)).
Fixes build for windows.

11 years ago * gentpl.py: Don't generate platform-dependent conditionals for
Vladimir Serbinenko [Wed, 27 Nov 2013 13:06:14 +0000 (14:06 +0100)] 
* gentpl.py: Don't generate platform-dependent conditionals for
platform-independent targets.

11 years ago* grub-core/osdep/unix/exec.c (grub_util_exec_redirect): Remove
Colin Watson [Wed, 27 Nov 2013 11:22:31 +0000 (11:22 +0000)] 
* grub-core/osdep/unix/exec.c (grub_util_exec_redirect): Remove
references to mdadm from otherwise generic code.
(grub_util_exec_pipe): Likewise.
(grub_util_exec_pipe_stderr): Likewise.
* grub-core/osdep/unix/getroot.c (grub_util_pull_lvm_by_command):
This function calls vgs, not mdadm; adjust variable names
accordingly.

11 years agoMerge branch 'new-autogen'
Colin Watson [Wed, 27 Nov 2013 10:57:27 +0000 (10:57 +0000)] 
Merge branch 'new-autogen'

11 years agoSpeed up test suite by avoiding fsync
Colin Watson [Wed, 27 Nov 2013 10:06:07 +0000 (10:06 +0000)] 
Speed up test suite by avoiding fsync

Add grub_util_disable_fd_syncs call to turn grub_util_fd_sync calls into
no-ops, and use it in programs that copy files but do not need to take
special care to sync writes (grub-mknetdir, grub-rescue,
grub-mkstandalone).

On my laptop, this reduces partmap_test's runtime from 1236 seconds to
204 seconds.

11 years ago* tests/util/grub-fs-tester.in: Execute xorriso from $PATH rather
Colin Watson [Tue, 26 Nov 2013 23:51:48 +0000 (23:51 +0000)] 
* tests/util/grub-fs-tester.in: Execute xorriso from $PATH rather
than hardcoding /usr/local/bin/xorriso.

11 years agoHandle #if/#endif and C-style comments in AutoGen definitions files.
Colin Watson [Tue, 26 Nov 2013 17:48:20 +0000 (17:48 +0000)] 
Handle #if/#endif and C-style comments in AutoGen definitions files.

11 years agoShow file name in error messages from AutogenParser.
Colin Watson [Tue, 26 Nov 2013 17:42:56 +0000 (17:42 +0000)] 
Show file name in error messages from AutogenParser.

11 years agoGenerate Makefile.*.am directly from gentpl.py, eliminating the use of Autogen. ...
Colin Watson [Wed, 13 Nov 2013 12:42:24 +0000 (12:42 +0000)] 
Generate Makefile.*.am directly from gentpl.py, eliminating the use of Autogen.  The Autogen definitions files remain intact as they offer a useful abstraction.

11 years ago Add PCI command activation to all PCI drivers as required for coreboot
Vladimir Serbinenko [Tue, 26 Nov 2013 13:21:11 +0000 (14:21 +0100)] 
Add PCI command activation to all PCI drivers as required for coreboot
and maybe some other firmwares.

11 years ago * grub-core/Makefile.am: Reduce gratuituous differences between Apple
Vladimir Serbinenko [Tue, 26 Nov 2013 10:38:12 +0000 (11:38 +0100)] 
* grub-core/Makefile.am: Reduce gratuituous differences between Apple
and non-Apple variants of efiemu compile.

11 years agoAdd ChangeLog entry for previous commit
Andrey Borzenkov [Mon, 25 Nov 2013 19:14:04 +0000 (23:14 +0400)] 
Add ChangeLog entry for previous commit

11 years agoExplicitly check for linking format to use for efiemu64 module
Andrey Borzenkov [Sun, 24 Nov 2013 17:12:17 +0000 (21:12 +0400)] 
Explicitly check for linking format to use for efiemu64 module

Similar to check for target linking format, also check for efiemu64
instead of hardcoding -melf_x86_64. This fixes compilation on *BSD
variants. We cannot easily reuse main target check because platforms
are different (main target is 32 bit and efiemu64 - 64 bit).

This commit adds EFIEMU64_LINK_FORMAT that contains detected
link option and is used in efiemu64.o linking instead of hardcoded
value.

Reported-By: Beeblebrox <zaphod@berentweb.com>
11 years ago * util/grub-mknetdir.c: Look for platform directories under pkglibdir
Vladimir Serbinenko [Mon, 25 Nov 2013 18:16:05 +0000 (19:16 +0100)] 
* util/grub-mknetdir.c: Look for platform directories under pkglibdir
and not pkgdatadir.

11 years agoAdd a --locale-directory option to grub-install and related tools.
Colin Watson [Mon, 25 Nov 2013 18:04:50 +0000 (18:04 +0000)] 
Add a --locale-directory option to grub-install and related tools.

* include/grub/util/install.h (GRUB_INSTALL_OPTIONS): Add
--locale-directory option.
(enum grub_install_options): Add
GRUB_INSTALL_OPTIONS_LOCALE_DIRECTORY.
* util/grub-install-common.c (grub_install_help_filter): Handle
GRUB_INSTALL_OPTIONS_LOCALE_DIRECTORY.
(grub_install_parse): Likewise.
(get_localedir): New function to check for a user-provided option
before trying grub_util_get_localedir.
(copy_locales): Use get_localedir rather than
grub_util_get_localedir.  Handle differing locale directory layouts.
(grub_install_copy_files): Likewise.

11 years agoMention clang for arm64 leiflindholm/arm64
Vladimir Serbinenko [Mon, 25 Nov 2013 12:27:39 +0000 (13:27 +0100)] 
Mention clang for arm64

11 years agoMake arm64 compileable with clang
Vladimir Serbinenko [Mon, 25 Nov 2013 12:06:56 +0000 (13:06 +0100)] 
Make arm64 compileable with clang

11 years agoUse b.ge form for instructions
Vladimir Serbinenko [Mon, 25 Nov 2013 12:04:44 +0000 (13:04 +0100)] 
Use b.ge form for instructions

11 years agoMerge branch 'master' into leiflindholm/arm64
Vladimir Serbinenko [Mon, 25 Nov 2013 12:02:27 +0000 (13:02 +0100)] 
Merge branch 'master' into leiflindholm/arm64

Conflicts:
include/grub/util/install.h

11 years ago * grub-core/osdep/unix/platform.c (get_ofpathname): Trim ending newline.
Vladimir Serbinenko [Mon, 25 Nov 2013 06:34:49 +0000 (07:34 +0100)] 
* grub-core/osdep/unix/platform.c (get_ofpathname): Trim ending newline.
Don't rely on PATH_MAX.

11 years ago * grub-core/genmoddep.awk: Use more portable && rather than and.
Vladimir Serbinenko [Mon, 25 Nov 2013 06:32:51 +0000 (07:32 +0100)] 
* grub-core/genmoddep.awk: Use more portable && rather than and.

11 years ago * grub-core/kern/i386/pc/startup.S [__APPLE__]: Create _edata by placing
Vladimir Serbinenko [Mon, 25 Nov 2013 04:55:33 +0000 (05:55 +0100)] 
* grub-core/kern/i386/pc/startup.S [__APPLE__]: Create _edata by placing
an object after data. While it doesn't seem right solution, it
works well enough and OSX isn't main compilation platform.

11 years ago * gentpl.py: Add -ed2016 in order to make objconv accept our binary.
Vladimir Serbinenko [Mon, 25 Nov 2013 04:53:20 +0000 (05:53 +0100)] 
* gentpl.py: Add -ed2016 in order to make objconv accept our binary.
While it doesn't seem right solution, it works well enough and
OSX isn't main compilation platform.

11 years ago * configure.ac: Add -static to LDFLAGS when using apple linker to
Vladimir Serbinenko [Mon, 25 Nov 2013 04:47:20 +0000 (05:47 +0100)] 
* configure.ac: Add -static to LDFLAGS when using apple linker to
prevent it from pulling in dynamic linker.

11 years ago Apple assembly doesn't handle symbol arithmetic well. So define an
Vladimir Serbinenko [Sun, 24 Nov 2013 05:20:10 +0000 (06:20 +0100)] 
Apple assembly doesn't handle symbol arithmetic well. So define an
offset symbol in boot.S and use it.

11 years ago Apple assembly doesn't handle symbol arithmetic well. So instead
Vladimir Serbinenko [Sun, 24 Nov 2013 05:13:45 +0000 (06:13 +0100)] 
Apple assembly doesn't handle symbol arithmetic well. So instead
of getting addres of kernel_sector + 4 define kernel_sector_high.
It also makes code more readable.

11 years ago With Apple assembly in .macro environvemnt you have to use $$ instead
Vladimir Serbinenko [Sun, 24 Nov 2013 04:55:47 +0000 (05:55 +0100)] 
With Apple assembly in .macro environvemnt you have to use $$ instead
of $. So introduce new preprocessor macro MACRO_DOLLAR(x) which expands
to $$x on Apple and to $x on everything else.

11 years ago * grub-core/Makefile.am: Use correct TARGET_OBJCONV rather than
Vladimir Serbinenko [Sun, 24 Nov 2013 04:27:20 +0000 (05:27 +0100)] 
* grub-core/Makefile.am: Use correct TARGET_OBJCONV rather than
OBJCONV.

11 years ago * grub-core/gdb/i386/machdep.S: Use xorl %eax, %eax on both Apple
Vladimir Serbinenko [Sun, 24 Nov 2013 04:17:24 +0000 (05:17 +0100)] 
* grub-core/gdb/i386/machdep.S: Use xorl %eax, %eax on both Apple
and non-Apple. This instruction is shorter and faster,
so no reason not to use it on both.

11 years ago * grub-core/lib/reed_solomon.c: Use section _text, _text rather than
Vladimir Serbinenko [Sun, 24 Nov 2013 04:14:11 +0000 (05:14 +0100)] 
* grub-core/lib/reed_solomon.c: Use section _text, _text rather than
.text when compiling for Apple.

11 years ago * grub-core/term/arc/console.c: Add missing cast to silence warning.
Vladimir Serbinenko [Sun, 24 Nov 2013 04:04:12 +0000 (05:04 +0100)] 
* grub-core/term/arc/console.c: Add missing cast to silence warning.

11 years ago * grub-core/boot/i386/pc/boot.S: Fix floppy probe. Due to missing
Vladimir Serbinenko [Sun, 24 Nov 2013 04:01:13 +0000 (05:01 +0100)] 
* grub-core/boot/i386/pc/boot.S: Fix floppy probe. Due to missing
%dx restore the probe worked on non-existant drive. Reorganize the
code a little bit to free 2 bytes necessary for push/pop.

11 years ago * grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation):
Vladimir Serbinenko [Sat, 23 Nov 2013 14:35:01 +0000 (15:35 +0100)] 
* grub-core/kern/mips/arc/init.c (grub_machine_get_bootlocation):
Add missing cast to silence warning.

11 years ago * util/grub-install.c (update_nvram): Support --no-nvram flag
Keshav Padram Amburay [Sat, 23 Nov 2013 12:02:12 +0000 (13:02 +0100)] 
* util/grub-install.c (update_nvram): Support --no-nvram flag
for EFI targets.

11 years ago * INSTALL: Add note about sparc64/ia64 with clang (unsupported).
Vladimir Serbinenko [Sat, 23 Nov 2013 11:49:41 +0000 (12:49 +0100)] 
* INSTALL: Add note about sparc64/ia64 with clang (unsupported).

11 years ago * util/garbage-gen.c: Add missing include of sys/time.h.
Vladimir Serbinenko [Sat, 23 Nov 2013 11:42:30 +0000 (12:42 +0100)] 
* util/garbage-gen.c: Add missing include of sys/time.h.

11 years ago Don't add -mflush-func if it's not supported by compiler.
Vladimir Serbinenko [Sat, 23 Nov 2013 11:40:44 +0000 (12:40 +0100)] 
Don't add -mflush-func if it's not supported by compiler.

11 years ago Move common BIOS/coreboot memory map declarations to
Vladimir Serbinenko [Sat, 23 Nov 2013 11:39:21 +0000 (12:39 +0100)] 
Move common BIOS/coreboot memory map declarations to
include/grub/i386/memory_raw.h and eliminate duplicate declarations.

11 years agoadd util/garbage-gen.c to EXTRA_DIST
Andrey Borzenkov [Sat, 23 Nov 2013 10:39:35 +0000 (14:39 +0400)] 
add util/garbage-gen.c to EXTRA_DIST

11 years ago * INSTALL: Document why older clang versions aren't appropriate.
Vladimir Serbinenko [Sat, 23 Nov 2013 00:16:47 +0000 (01:16 +0100)] 
* INSTALL: Document why older clang versions aren't appropriate.

11 years ago * INSTALL: Document about clang for mips.
Vladimir Serbinenko [Fri, 22 Nov 2013 23:41:32 +0000 (00:41 +0100)] 
* INSTALL: Document about clang for mips.

11 years ago * grub-core/lib/libgcrypt/mpi/longlong.h: Use C version with mips
Vladimir Serbinenko [Fri, 22 Nov 2013 23:36:13 +0000 (00:36 +0100)] 
* grub-core/lib/libgcrypt/mpi/longlong.h: Use C version with mips
clang.

11 years ago Add *-xen to the list of grub-install-common platforms.
Vladimir Serbinenko [Fri, 22 Nov 2013 13:21:16 +0000 (14:21 +0100)] 
Add *-xen to the list of grub-install-common platforms.

11 years ago * configure.ac: Do not enforce -mcmodel=large. It's not necessarry with
Vladimir Serbinenko [Fri, 22 Nov 2013 12:07:51 +0000 (13:07 +0100)] 
* configure.ac: Do not enforce -mcmodel=large. It's not necessarry with
3 last commits.

11 years ago * grub-core/kern/xen/init.c: Do not map more pages than we can address.
Vladimir Serbinenko [Fri, 22 Nov 2013 12:04:29 +0000 (13:04 +0100)] 
* grub-core/kern/xen/init.c: Do not map more pages than we can address.

11 years ago * grub-core/kern/efi/mm.c: Limit allocations to 2GiB when not compiling
Vladimir Serbinenko [Fri, 22 Nov 2013 12:03:19 +0000 (13:03 +0100)] 
* grub-core/kern/efi/mm.c: Limit allocations to 2GiB when not compiling
with -mcmodel=large.

11 years ago * grub-core/kern/x86_64/dl.c (grub_arch_dl_relocate_symbols): Add
Vladimir Serbinenko [Fri, 22 Nov 2013 12:01:14 +0000 (13:01 +0100)] 
* grub-core/kern/x86_64/dl.c (grub_arch_dl_relocate_symbols): Add
range-checking for 32-bit quantities.

11 years ago * configure.ac: Compile with -fPIC when compiling with clang on
Vladimir Serbinenko [Fri, 22 Nov 2013 11:50:41 +0000 (12:50 +0100)] 
* configure.ac: Compile with -fPIC when compiling with clang on
mips.

11 years ago * configure.ac: Add -no-integrated-as on mips(el) to TARGET_CCASFLAGS
Vladimir Serbinenko [Fri, 22 Nov 2013 11:48:32 +0000 (12:48 +0100)] 
* configure.ac: Add -no-integrated-as on mips(el) to TARGET_CCASFLAGS
when compiling with clang.

11 years ago clang emits calls to abort () under some unknown conditions.
Vladimir Serbinenko [Fri, 22 Nov 2013 11:42:58 +0000 (12:42 +0100)] 
clang emits calls to abort () under some unknown conditions.
Export abort () when compiling with clang.

11 years ago * docs/grub-dev.texi: Document stack and heap sizes.
Vladimir Serbinenko [Fri, 22 Nov 2013 11:03:44 +0000 (12:03 +0100)] 
* docs/grub-dev.texi: Document stack and heap sizes.

11 years ago * include/grub/i386/pc/memory.h: Decrease
Vladimir Serbinenko [Fri, 22 Nov 2013 11:02:00 +0000 (12:02 +0100)] 
* include/grub/i386/pc/memory.h: Decrease
GRUB_MEMORY_MACHINE_SCRATCH_SIZE and increase
GRUB_MEMORY_MACHINE_PROT_STACK_SIZE.
The binary doesn't change (checked). It's more to better reflect actual
usage.

11 years ago * grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_open): Ensure
Vladimir Serbinenko [Fri, 22 Nov 2013 11:00:10 +0000 (12:00 +0100)] 
* grub-core/disk/i386/pc/biosdisk.c (grub_biosdisk_open): Ensure
at compile time that enough of scratch size is available.

11 years ago * grub-core/kern/x86_64/efi/callwrap.S: Fix stack alignment.
Vladimir Serbinenko [Fri, 22 Nov 2013 04:40:32 +0000 (05:40 +0100)] 
* grub-core/kern/x86_64/efi/callwrap.S: Fix stack alignment.
Previously we misaligned stack by 8 in startup.S and compensated
for it in callwrap.S. According to ABI docs (EFI and sysv amd64)
right behaviour is to align stack in startup.S and keep it aligned
in callwrap.S. startup.S part was committed few commits before. This
takes care of callwrap.S.
Reported by: Gary Lin.