#
11a459ba |
| 16-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 ...
|