diff options
Diffstat (limited to 'GNU_efi_HelloWorld')
-rw-r--r-- | GNU_efi_HelloWorld/.gitignore | 2 | ||||
-rw-r--r-- | GNU_efi_HelloWorld/Makefile | 8 | ||||
-rw-r--r-- | GNU_efi_HelloWorld/hello.o | bin | 2112 -> 0 bytes | |||
-rwxr-xr-x | GNU_efi_HelloWorld/hello.so | bin | 2171456 -> 0 bytes |
4 files changed, 9 insertions, 1 deletions
diff --git a/GNU_efi_HelloWorld/.gitignore b/GNU_efi_HelloWorld/.gitignore index ca4663b..0bf07f1 100644 --- a/GNU_efi_HelloWorld/.gitignore +++ b/GNU_efi_HelloWorld/.gitignore @@ -1 +1,3 @@ gnu-efi +*.o +*.so diff --git a/GNU_efi_HelloWorld/Makefile b/GNU_efi_HelloWorld/Makefile index 448e3f7..e3a5956 100644 --- a/GNU_efi_HelloWorld/Makefile +++ b/GNU_efi_HelloWorld/Makefile @@ -10,7 +10,8 @@ EFI_CRT_OBJS = $(EFILIB)/crt0-efi-$(ARCH).o EFI_LDS = $(EFILIB)/elf_$(ARCH)_efi.lds CFLAGS = $(EFFINCS) -fno-stack-protector -fpic \ - -fshort-wchar -mno-red-zone -Wall + -fshort-wchar -mno-red-zone -Wall \ + -ggdb ifeq ($(ARCH),x86_64) CFLAGS += -DEFI_FUNCTION_WRAPPER @@ -29,3 +30,8 @@ hello.so: $(OBJS) objcopy -j .text -j .sdata -j .data -j .dynamic \ -j .dynsym -j .rel -j .rela -j .reloc \ --target=efi-app-$(ARCH) $^ $@ + +clear: + rm *.efi + rm *.o + rm *.so diff --git a/GNU_efi_HelloWorld/hello.o b/GNU_efi_HelloWorld/hello.o Binary files differdeleted file mode 100644 index 37f6971..0000000 --- a/GNU_efi_HelloWorld/hello.o +++ /dev/null diff --git a/GNU_efi_HelloWorld/hello.so b/GNU_efi_HelloWorld/hello.so Binary files differdeleted file mode 100755 index 089f3f7..0000000 --- a/GNU_efi_HelloWorld/hello.so +++ /dev/null |