History log of /DragonStub/gnuefi/ (Results 51 – 59 of 59)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
5ff74eca25-Mar-2016 Nigel Croxon <nigel.croxon@hpe.com>

Commit 3dd05c and subsequent ones introduced the use of the GNU
specific __attribute__((__unused__)), which breaks MSVC compilation...

I'll use this as a reminder that gnu-efi is compiled with more

Commit 3dd05c and subsequent ones introduced the use of the GNU
specific __attribute__((__unused__)), which breaks MSVC compilation...

I'll use this as a reminder that gnu-efi is compiled with more than
GNU toolchains, and that contributors might want to be careful about
adding GNU-specific extensions...

This patch does the following:
Create a new eficompiler.h header that sets all compiler-specific
options and extensions
Create a new EFI_UNUSED macro to be used in lieu of
__attribute__((__unused__)) and applies it to the relevant sources
Move the ALIGN(x) macro, previously defined in efisetjmp.h to the new header

Oh, and it also fixes a bunch of trailing whitespaces (because my code
editor is set to do just that by default).

Signed-off-by: Pete Batard <pbatard@users.sf.net>
Signed-off-by: Nigel Croxon <nigel.croxon@hpe.com>

show more ...

3dd05c7b03-Mar-2016 Nigel Croxon <nigel.croxon@hpe.com>

This makes "-Werror=unused-parameter" not fail.

Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Nigel Croxon <nigel.croxon@hpe.com>

d39106b325-Feb-2016 Nigel Croxon <nigel.croxon@hpe.com>

Apparently some linkers will just throw caution to the wind and
decide to stick stuff we don't explicitly mention at 0,
no matter what else has already explicitly been located there.
A debian/ubuntu

Apparently some linkers will just throw caution to the wind and
decide to stick stuff we don't explicitly mention at 0,
no matter what else has already explicitly been located there.
A debian/ubuntu builder noted:

gcc -O0 -g3 -fpic -Wall -fshort-wchar -fno-strict-aliasing \
-fno-merge-constants -ffreestanding -fno-stack-protector \
-fno-stack-check --std=c11 -DCONFIG_aarch64 -D__KERNEL__ \
-I/usr/include/efi/ -I/usr/include/efi/aarch64/ \
-iquote/«PKGBUILDDIR»/include "-DDEBUGDIR=L\"/\"" \
-ffreestanding -I/usr/lib/gcc/aarch64-linux-gnu/4.9/include \
-c -o fakeesrt2.o fakeesrt2.c
ld -nostdlib --warn-common --no-undefined --fatal-warnings -shared \
-Bsymbolic -L/usr/lib -L/usr/lib --build-id=sha1 \
/usr/lib/crt0-efi-aarch64.o --defsym=EFI_SUBSYSTEM=0xa \
-o fakeesrt2.so fakeesrt2.o -lefi -lgnuefi \
/usr/lib/gcc/aarch64-linux-gnu/4.9/libgcc.a \
-T elf_aarch64_efi.lds
ld: section .note.gnu.build-id loaded at [00000000,00000023] overlaps section .text loaded at [00000000,0000668f]

This shouldn't be a problem if we explicitly tell it where to put them.

Ard added a patch to do this on Arm and aarch64 targets in 16409cad4cb,
but it needs to be everywhere.

Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Nigel Croxon <nigel.croxon@hpe.com>

show more ...

06db4a2b17-Feb-2016 Nigel Croxon <nigel.croxon@hpe.com>

arm: fix linker script for building efi binaries

On arm, the linker script is missing section collection for data and
bss. This causes some symbols (notably static array symbols) not to
get relocat

arm: fix linker script for building efi binaries

On arm, the linker script is missing section collection for data and
bss. This causes some symbols (notably static array symbols) not to
get relocated correctly and the resulting efi binary to crash. Fix
this by correctly collecting all the data and bss sections.

Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Signed-off-by: Nigel Croxon <nigel.croxon@hpe.com>

show more ...

e64257b923-Dec-2015 Nigel Croxon <nigel.croxon@hpe.com>

From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: [PATCH] Add ARM .note.gnu.build-id input section to
a dedicated output section

This fixes the builds for ARM and AARCH64, which currently fa

From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: [PATCH] Add ARM .note.gnu.build-id input section to
a dedicated output section

This fixes the builds for ARM and AARCH64, which currently fail at link
time with an error like this:

arm-linux-gnueabi-ld: section .note.gnu.build-id loaded at
[0000000000000000,0000000000000023] overlaps section .text loaded at
[0000000000000000,00000000000064cf]

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Nigel Croxon <nigel.croxon@hpe.com>

show more ...

88e3cf9523-Dec-2015 Nigel Croxon <nigel.croxon@hpe.com>

From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: [PATCH 1/2] Relicense ARM and AARCH64 source files as
both BSD and GPL

This updates the licenses of the files authored by me under lib/arm
a

From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: [PATCH 1/2] Relicense ARM and AARCH64 source files as
both BSD and GPL

This updates the licenses of the files authored by me under lib/arm
and lib/aarch64 to be both 2-clause BSD and GPL v2+

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Nigel Croxon <nigel.croxon@hpe.com>

show more ...

11a459ba16-Jul-2015 Nigel Croxon <nigel.croxon@hp.com>

This patch makes the following symbols (relatively) consistent between
all of our linker scripts:

_text
_etext
_text_size
_data
_edata
_data_size

There are various things that are slightly differen

This patch makes the following symbols (relatively) consistent between
all of our linker scripts:

_text
_etext
_text_size
_data
_edata
_data_size

There are various things that are slightly different (positions of
.rela*, .dynamic, and similar in relation to .data), but _text and _data
are now always at the beginning of their respective sections with regard
to how a debuger would reference the debug info, and _etext and _edata
are now always extant and guaranteed to be after any of the respective
kind of data the debugger would look for in that section.

This also adds an application example of how it might be used, and a
makefile target for %.efi.debug which will generate a separate debuginfo
file for that example.

This also enables debugging by default (i.e. -g is in CFLAGS) and adds
.note.gnu.build-id sections to our .so files (i.e. --build-id=sha1 is in
LDFLAGS).

Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>

show more ...

ce7098fb19-Feb-2015 Nigel Croxon <nigel.croxon@hp.com>

Enable out-of-tree building

This patch enables building gnu-efi outside of the source tree.
That in turn enables building for multiple architectures in parallel.

The build directory is controlled b

Enable out-of-tree building

This patch enables building gnu-efi outside of the source tree.
That in turn enables building for multiple architectures in parallel.

The build directory is controlled by the OBJDIR make variable. It
defaults to the value of ARCH, and can be overridden from the command
line.

This patch also cleans up some doubled slashes between INSTALLROOT
and PREFIX.

Signed-off-by: Jonathan Boeing <jonathan.n.boeing@gmail.com>
Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>

show more ...

530d68ba25-Nov-2014 Nigel Croxon <nigel.croxon@hp.com>

The gnu-efi-3.0 toplevel subdirectory is really annoying. Kill it.

Signed-off-by: Peter Jones <pjones@redhat.com>
Signed-off-by: Nigel Croxon <nigel.croxon@hp.com>


/DragonStub/ChangeLog
/DragonStub/Make.defaults
/DragonStub/Make.rules
/DragonStub/Makefile
/DragonStub/README.efilib
/DragonStub/README.elilo
/DragonStub/README.gnuefi
/DragonStub/apps/AllocPages.c
/DragonStub/apps/FreePages.c
/DragonStub/apps/Makefile
/DragonStub/apps/drv0.c
/DragonStub/apps/drv0.h
/DragonStub/apps/drv0_use.c
/DragonStub/apps/modelist.c
/DragonStub/apps/printenv.c
/DragonStub/apps/route80h.c
/DragonStub/apps/t.c
/DragonStub/apps/t2.c
/DragonStub/apps/t3.c
/DragonStub/apps/t4.c
/DragonStub/apps/t5.c
/DragonStub/apps/t6.c
/DragonStub/apps/t7.c
/DragonStub/apps/t8.c
/DragonStub/apps/tcc.c
/DragonStub/apps/tpause.c
/DragonStub/apps/trivial.S
Makefile
crt0-efi-aarch64.S
crt0-efi-arm.S
crt0-efi-ia32.S
crt0-efi-ia64.S
crt0-efi-x86_64.S
elf_aarch64_efi.lds
elf_arm_efi.lds
elf_ia32_efi.lds
elf_ia32_fbsd_efi.lds
elf_ia64_efi.lds
elf_x86_64_efi.lds
elf_x86_64_fbsd_efi.lds
reloc_aarch64.c
reloc_arm.c
reloc_ia32.c
reloc_ia64.S
reloc_x86_64.c
/DragonStub/inc/Makefile
/DragonStub/inc/aarch64/efibind.h
/DragonStub/inc/aarch64/efilibplat.h
/DragonStub/inc/arm/efibind.h
/DragonStub/inc/arm/efilibplat.h
/DragonStub/inc/efi.h
/DragonStub/inc/efi_nii.h
/DragonStub/inc/efi_pxe.h
/DragonStub/inc/efiapi.h
/DragonStub/inc/eficon.h
/DragonStub/inc/efidebug.h
/DragonStub/inc/efidef.h
/DragonStub/inc/efidevp.h
/DragonStub/inc/efierr.h
/DragonStub/inc/efifs.h
/DragonStub/inc/efigpt.h
/DragonStub/inc/efiip.h
/DragonStub/inc/efilib.h
/DragonStub/inc/efilink.h
/DragonStub/inc/efinet.h
/DragonStub/inc/efipart.h
/DragonStub/inc/efipciio.h
/DragonStub/inc/efipoint.h
/DragonStub/inc/efiprot.h
/DragonStub/inc/efipxebc.h
/DragonStub/inc/efirtlib.h
/DragonStub/inc/efiser.h
/DragonStub/inc/efishellintf.h
/DragonStub/inc/efishellparm.h
/DragonStub/inc/efistdarg.h
/DragonStub/inc/efitcp.h
/DragonStub/inc/efiudp.h
/DragonStub/inc/efiui.h
/DragonStub/inc/ia32/efibind.h
/DragonStub/inc/ia32/efilibplat.h
/DragonStub/inc/ia32/pe.h
/DragonStub/inc/ia64/efibind.h
/DragonStub/inc/ia64/efilibplat.h
/DragonStub/inc/ia64/pe.h
/DragonStub/inc/ia64/salproc.h
/DragonStub/inc/inc.mak
/DragonStub/inc/libsmbios.h
/DragonStub/inc/make.inf
/DragonStub/inc/makefile.hdr
/DragonStub/inc/pci22.h
/DragonStub/inc/protocol/adapterdebug.h
/DragonStub/inc/protocol/eficonsplit.h
/DragonStub/inc/protocol/efidbg.h
/DragonStub/inc/protocol/efivar.h
/DragonStub/inc/protocol/ia64/eficontext.h
/DragonStub/inc/protocol/intload.h
/DragonStub/inc/protocol/legacyboot.h
/DragonStub/inc/protocol/make.inf
/DragonStub/inc/protocol/makefile.hdr
/DragonStub/inc/protocol/piflash64.h
/DragonStub/inc/protocol/readme.txt
/DragonStub/inc/protocol/vgaclass.h
/DragonStub/inc/romload.h
/DragonStub/inc/x86_64/efibind.h
/DragonStub/inc/x86_64/efilibplat.h
/DragonStub/inc/x86_64/pe.h
/DragonStub/lib/Makefile
/DragonStub/lib/aarch64/efi_stub.S
/DragonStub/lib/aarch64/initplat.c
/DragonStub/lib/aarch64/math.c
/DragonStub/lib/arm/div64.S
/DragonStub/lib/arm/efi_stub.S
/DragonStub/lib/arm/initplat.c
/DragonStub/lib/arm/lib1funcs.S
/DragonStub/lib/arm/math.c
/DragonStub/lib/boxdraw.c
/DragonStub/lib/cmdline.c
/DragonStub/lib/console.c
/DragonStub/lib/crc.c
/DragonStub/lib/data.c
/DragonStub/lib/debug.c
/DragonStub/lib/dpath.c
/DragonStub/lib/error.c
/DragonStub/lib/event.c
/DragonStub/lib/guid.c
/DragonStub/lib/hand.c
/DragonStub/lib/hw.c
/DragonStub/lib/ia32/efi_stub.S
/DragonStub/lib/ia32/initplat.c
/DragonStub/lib/ia32/math.c
/DragonStub/lib/ia64/initplat.c
/DragonStub/lib/ia64/math.c
/DragonStub/lib/ia64/palproc.S
/DragonStub/lib/ia64/palproc.h
/DragonStub/lib/ia64/salpal.c
/DragonStub/lib/init.c
/DragonStub/lib/lib.h
/DragonStub/lib/lock.c
/DragonStub/lib/misc.c
/DragonStub/lib/print.c
/DragonStub/lib/runtime/efirtlib.c
/DragonStub/lib/runtime/rtdata.c
/DragonStub/lib/runtime/rtlock.c
/DragonStub/lib/runtime/rtstr.c
/DragonStub/lib/runtime/vm.c
/DragonStub/lib/smbios.c
/DragonStub/lib/sread.c
/DragonStub/lib/str.c
/DragonStub/lib/x86_64/callwrap.c
/DragonStub/lib/x86_64/efi_stub.S
/DragonStub/lib/x86_64/initplat.c
/DragonStub/lib/x86_64/math.c

123