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

[Minios-devel] [UNIKRAFT PATCH v3 0/4] 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

Yuri Volchkov (4):
  build: make all linker scripts preprocessable
  build: always produce 2 images: w/ and w/o debug syms
  build: disable build-id for libraries too
  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                        | 26 +++----
 plat/kvm/Makefile.uk                      |  3 +-
 plat/kvm/arm/link64.lds.S                 |  6 ++
 plat/kvm/x86/{link64.lds => link64.lds.S} |  7 ++
 plat/linuxu/Linker.uk                     | 17 ++---
 plat/xen/Linker.uk                        | 46 ++++--------
 plat/xen/Makefile.uk                      |  3 +
 plat/xen/arm/{link32.lds => link32.lds.S} |  6 ++
 plat/xen/x86/{link64.lds => link64.lds.S} |  7 ++
 support/scripts/sect-strip.py             | 87 +++++++++++++++++++++++
 13 files changed, 218 insertions(+), 85 deletions(-)
 create mode 100644 plat/common/include/common-lds.h
 rename plat/kvm/x86/{link64.lds => link64.lds.S} (94%)
 rename plat/xen/arm/{link32.lds => link32.lds.S} (97%)
 rename plat/xen/x86/{link64.lds => link64.lds.S} (95%)
 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®.