- Jun 13, 2021
-
-
Chris Coulson authored
It works only on UEFI platforms but can be quite easily extended to others architectures and platforms if needed. Signed-off-by:
Chris Coulson <chris.coulson@canonical.com> Signed-off-by:
Daniel Kiper <daniel.kiper@oracle.com> Reviewed-by:
Marco A Benatto <mbenatto@redhat.com> Reviewed-by:
Javier Martinez Canillas <javierm@redhat.com> Patch-Name: 2021-02-security/099-kern-efi-Add-initial-stack-protector-implementation.patch
-
- Mar 02, 2021
-
-
Chris Coulson authored
It works only on UEFI platforms but can be quite easily extended to others architectures and platforms if needed. Signed-off-by:
Chris Coulson <chris.coulson@canonical.com> Signed-off-by:
Daniel Kiper <daniel.kiper@oracle.com> Reviewed-by:
Marco A Benatto <mbenatto@redhat.com> Reviewed-by:
Javier Martinez Canillas <javierm@redhat.com>
-
- Feb 27, 2021
-
-
Chris Coulson authored
It works only on UEFI platforms but can be quite easily extended to others architectures and platforms if needed. Signed-off-by:
Chris Coulson <chris.coulson@canonical.com> Signed-off-by:
Daniel Kiper <daniel.kiper@oracle.com> Reviewed-by:
Marco A Benatto <mbenatto@redhat.com> Reviewed-by:
Javier Martinez Canillas <javierm@redhat.com> Patch-Name: 2021-02-security/099-kern-efi-Add-initial-stack-protector-implementation.patch
-
- Feb 17, 2018
-
-
Colin Watson authored
[dgit import orig grub2_2.02+dfsg1.orig.tar.xz]
-
- Jan 30, 2017
-
-
Vladimir Serbinenko authored
We don't use lgcc_s but missing lgcc_s or another library cause test to fail. So use -nostdlib. We need to use -Werror to avoid warning-generated case to be accepted. Clang uses -nopie rather than -no-pie. Check both and use whichever one works. Additionally android clang passes -pie to the linker even though it doesn't define __PIE__. So if compilation without no-pie logic fails add -nopie/-no-pie even if __PIE__ is not defined.
-
- Dec 14, 2016
-
-
Magnus Granberg authored
When Grub is compile with gcc 6.1 that have --enable-defult-pie set. It fail with. -ffreestanding -m32 -Wl,-melf_i386 -Wl,--build-id=none -nostdlib -Wl,-N -Wl,-r,-d - o trig.module trig_module-trigtables.o grep 'MARKER' gcry_whirlpool.marker.new > gcry_whirlpool.marker; rm -f gcry_whirlpool.marker.new /usr/lib/gcc/x86_64-pc-linux-gnu/6.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: -r and - shared may not be used together collect2: error: ld returned 1 exit status Makefile:26993: recipe for target 'trig.module' failed Check that compiler supports -no-pie and add it to linker flags.
-
- Jul 05, 2015
-
-
Andrei Borzenkov authored
That's what Makefile will use and it is required if unusual flags must be passed to linker (e.g. to build ppc32 code on ppc64le with clang).
-
- Feb 21, 2015
-
-
Vladimir Serbinenko authored
-
- Jan 18, 2014
-
-
Andrey Borzenkov authored
At least on Windows 2003 using "ln -s dir1 dir2" in msys shell succeeds, but results in what looks like hard link. Subsequent "rm -f dir2" (e.g. during second config.status invocation) fails. Check that we also can remove link to directory. Make it more clear in message that we are checking "ln -s".
-
- Dec 16, 2013
-
-
Vladimir Serbinenko authored
whenever possible. Respect locality in remaining cases.
-
- Nov 30, 2013
-
-
Vladimir Serbinenko authored
-
- Nov 14, 2013
-
-
Vladimir Serbinenko authored
on target_os.
-
Vladimir Serbinenko authored
Note: even though this patch postdates Andrey's it bears 14 Nov as date due to timezone difference.
-
Vladimir Serbinenko authored
Call grub_PROG_NM_WORKS. * acinclude.m4: New check grub_PROG_NM_WORKS. Use $TARGET_CFLAGS -c when compiling test binary.
-
- Nov 13, 2013
-
-
Colin Watson authored
functions, we only need to check this for the target, not the host. * configure.ac (grub_apple_cc): Likewise.
-
- Nov 07, 2013
-
-
Vladimir Serbinenko authored
* configure.ac: Likewise.
-
Vladimir Serbinenko authored
-
- Aug 21, 2013
-
-
Vladimir 'phcoder' Serbinenko authored
* acinclude.m4: Determine whether nm support -P and --defined-only. * configure.ac: Add TARGET_ to all variables pertaining to target that don't have it yet. * gentpl.py: Likewise. * grub-core/Makefile.am: Likewise. * grub-core/genmod.sh.in: Likewise. * grub-core/gensyminfo.sh.in: Handle OpenBSD and other non-GNU nm as well.
-
- Jun 07, 2013
-
-
Vladimir 'phcoder' Serbinenko authored
Reported by: dougray.
-
- May 03, 2013
-
-
Leif Lindholm authored
-
- Dec 28, 2012
-
-
Colin Watson authored
run-time. Fixes Debian bug #696465. * acinclude.m4 (grub_TRANSFORM): New macro. * configure.ac: Create output variables with transformed names for most programs. * util/bash-completion.d/grub-completion.bash.in: Use pre-transformed variables for program names. * util/grub-install.in: Likewise. * util/grub-kbdcomp.in: Likewise. * util/grub-mkconfig.in: Likewise. * util/grub-mkconfig_lib.in: Likewise. * util/grub-mknetdir.in: Likewise. * util/grub-mkrescue.in: Likewise. * util/grub-mkstandalone.in: Likewise. * util/grub-reboot.in: Likewise. * util/grub-set-default.in: Likewise. * util/powerpc/ieee1275/grub-mkrescue.in: Likewise. * tests/util/grub-shell-tester.in: Remove unused assignment. * tests/util/grub-shell.in: Likewise. * util/grub.d/00_header.in: Likewise.
-
- Feb 29, 2012
-
-
Vladimir 'phcoder' Serbinenko authored
* configure.ac: Add -fno-PIC to TARGET_CFLAGS if -fPIC is default.
-
- Aug 20, 2011
-
-
Szymon Janc authored
AC_LANG_CONFTEST macros.
-
- Sep 19, 2010
-
-
Vladimir 'phcoder' Serbinenko authored
* acinclude.m4 (HAVE_ASM_USCORE): Transformed into a variable. (ADDR32): Likewise. (DATA32): Likewise. (BSS_START_SYMBOL): Likewise. (END_SYMBOL): Likewise. (NEED_ENABLE_EXECUTE_STACK): Likewise. All users updated. (grub_I386_ASM_ABSOLUTE_WITHOUT_ASTERISK): Removed. * config.h.in: New file. * configure.ac: Use config-util.h as config define file. Rename MACHINE into GRUB_MACHINE. All users updated. (NEED_REGISTER_FRAME_INFO): Transformed into a variable. All users updated. (NESTED_FUNC_ATTR): Likewise. Substitue new variables. (COND_HAVE_ASM_USCORE): New conditional. * grub-core/Makefile.am (ASM_PREFIX): New variable. (kernel_syms.lst): Use ASM_PREFIX. * grub-core/kern/emu/console.c: Include config-util.h. * grub-core/kern/emu/misc.c: Likewise. * grub-core/kern/emu/mm.c: Likewise. * include/grub/emu/misc.h: Likewise. * include/grub/libgcc.h: Likewise.
-
- Aug 18, 2010
-
-
Colin Watson authored
to avoid false positives with some assemblers that output things like "someprefix_func" as part of their output.
-
- Jun 07, 2010
-
-
BVK Chaitanya authored
-
- Apr 18, 2010
-
-
Grégoire Sutre authored
grub_prefix in grub-mkconfig for NetBSD and OpenBSD.
-
- Jan 23, 2010
-
-
BVK Chaitanya authored
-
- Jan 18, 2010
-
-
Robert Millan authored
* acinclude.m4: Remove `nop' assembly instruction; it's not implemented by all architectures.
-
- Nov 16, 2009
-
-
Robert Millan authored
* aclocal.m4: Move from here ... * acinclude.m4: ... to here. * autogen.sh: Add call to `aclocal'. * configure.ac: Add AM_INIT_AUTOMAKE() after AC_INIT() call.
-
- Nov 07, 2009
-
-
robertmh authored
Fix build with GNU gold. * conf/i386-pc.rmk (boot_img_LDFLAGS, pxeboot_img_LDFLAGS) (diskboot_img_LDFLAGS, lnxboot_img_LDFLAGS) (cdboot_img_LDFLAGS): Prepend `0x' qualifier to hexadecimal link addresses. * aclocal.m4: Likewise.
-
- Sep 16, 2009
-
-
robertmh authored
* aclocal.m4 (AC_LANG_PROGRAM): New macro. Overrides stock AC_LANG_PROGRAM from autoconf. (grub_ASM_USCORE, grub_PROG_OBJCOPY_ABSOLUTE): Add missing prototypes (fixes warning). * configure.ac: Add `-Werror' to TARGET_CFLAGS unless `--disable-werror' was used.
-
- Sep 03, 2009
-
-
robertmh authored
* aclocal.m4: Add grub_CHECK_PIE. It check if the compiler include -fPIE in the default specs. * configure.ac: Check if pie_possible is yes and add -fno-PIE to TARGET_CFLAGS.
-
- Jun 18, 2009
-
-
phcoder authored
Fix build with Apple's toolchain. Part 2 * aclocal.m4 (grub_PROG_TARGET_CC): add missing prototype for main and a fake start
-
- Jun 10, 2009
-
-
fzielcke authored
-
- Jun 04, 2009
-
-
phcoder authored
Check if compiler is apple cc * Makefile.in (ASFLAGS): new variable (TARGET_ASFLAGS): likewise (TARGET_MODULE_FORMAT): likewise (TARGET_APPLE_CC): likewise (OBJCONV): likewise (TARGET_IMG_CFLAGS): likewise (TARGET_CPPFLAGS): add includedir * configure.ac: call grub_apple_cc and grub_apple_target_cc (TARGET_IMG_LDFLAGS): Add -Wl,-Ttext,. All users updated Check for linker script only if compiler isn't Apple's CC (TARGET_MODULE_FORMAT): set (TARGET_APPLE_CC): likewise (TARGET_ASFLAGS): likewise (ASFLAGS): likewise Check for objcopy only if compiler isn't Apple's CC Check for BSS symbol only if compiler isn't Apple's CC * genmk.rb: adapt nm options if we use Apple's utils * aclocal.m4 (grub_apple_cc): new test (grub_apple_target_cc): likewise
-
- May 22, 2009
-
-
proski authored
* aclocal.m4 (grub_I386_CHECK_REGPARM_BUG): Remove. * configure.ac: Don't call grub_I386_CHECK_REGPARM_BUG. Define NESTED_FUNC_ATTR using AH_BOTTOM. Use regparm(1) only when compiling for the i386 targets, but not for the utilities.
-
- Apr 01, 2009
- Mar 22, 2009
-
-
proski authored
* aclocal.m4 (grub_CHECK_START_SYMBOL): Remove. * configure.ac: Don't call grub_CHECK_START_SYMBOL. * kern/i386/pc/startup.S: Use _start instead of START_SYMBOL.
-