From 11a459ba967bcdaed8c31c6ce4bbfb7ec54f8233 Mon Sep 17 00:00:00 2001 From: Nigel Croxon Date: Thu, 16 Jul 2015 12:31:23 -0400 Subject: 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 Signed-off-by: Nigel Croxon --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index bb18dcd..970b638 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.efi +*.efi.debug *.o *.a *.tar.* -- cgit v1.2.1