11a459ba96
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> |
||
---|---|---|
.. | ||
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 | ||
Makefile | ||
reloc_aarch64.c | ||
reloc_arm.c | ||
reloc_ia32.c | ||
reloc_ia64.S | ||
reloc_x86_64.c |