[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [UNIKRAFT PATCH v4 0/3] build: reorganize linking



Few improvements and fixes of the linking process.

Changes since v1:
  - bring back config OPTIMIZE_SYMFILE (deleted by mistake)
  - Correct target in the short message of LD command
  - sect-strip: keep the permissions if coping the file without
    modifications

Changes since v2:
  - Some modifications from "make all linker scripts preprocessable"
    acidently got into the "always produce 2 images: w/ and w/o debug
    syms". To fix this I also needed to swap the order these 2 patches

Changes since v3:
  - rename common-lds.h to common.lds.h

Yuri Volchkov (3):
  build: disable build-id for libraries too
  build: always produce 2 images: w/ and w/o debug syms
  build: add debug symbols and comment sections to all linkers

 Config.uk                        | 20 --------
 Makefile.uk                      |  8 +--
 plat/common/include/common.lds.h | 67 ++++++++++++++++++++++++
 plat/kvm/Linker.uk               | 22 +++-----
 plat/kvm/arm/link64.lds.S        |  6 +++
 plat/kvm/x86/link64.lds.S        |  7 +++
 plat/linuxu/Linker.uk            | 17 +++----
 plat/xen/Linker.uk               | 33 +++++-------
 plat/xen/arm/link32.lds.S        |  6 +++
 plat/xen/x86/link64.lds.S        |  7 +++
 support/scripts/sect-strip.py    | 87 ++++++++++++++++++++++++++++++++
 11 files changed, 209 insertions(+), 71 deletions(-)
 create mode 100644 plat/common/include/common.lds.h
 create mode 100755 support/scripts/sect-strip.py

-- 
2.19.2


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.