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

[Minios-devel] [UNIKRAFT PATCH v4 0/2] Add eh_frame and eh_frame_hdr to the linker script



For the exception handling in C++ additional information must be
provided to the runtime environment that describes the call frames 
that must be unwound during the processing of an exception. 
This information is contained in the special sections 
.eh_frame and .eh_frame_hdr.

Changes from v1:
*) Removed the alignment between sections.
*) Adapted the section register from memory.h to the latest
changes in staging.

Changes from v2:
*) Solved checkpatch errors in /plat/xen/memory.c
*) Add the eh_fram and eh_frame_hdr in plat/kvm/arm/link64.lds.S
and plat/xen/arm/link32.lds
*) Increase de memory region count on plat/xen/memory.c from 5
to 7 (we have 7 sections now with eh_frame and eh_frame_hdr)
*) Changed the order in plat/*/memory.c to follow the order
from the linker script. Now the sections are registered after
the code section.

Changes from v3:
*) Solved typo in plat/kvm/arm/link64.lds.S
*) page aligned eh_frame_start in plat/xen/arm/link32.lds

Vlad-Andrei Badoiu (1):
  plat: Register eh_frame and eh_frame_hdr in memory.h

Vlad-Andrei BĂDOIU (78692) (1):
  plat: Add the eh_frame and eh_frame_hdr sections

 plat/common/include/sections.h | 32 ++++++++++++++--------
 plat/common/x86/link64.lds     | 50 ++++++++++++++++++++++++++++++++++
 plat/kvm/arm/link64.lds.S      | 26 +++++++++++++++---
 plat/kvm/memory.c              | 36 +++++++++++++++++++-----
 plat/kvm/x86/link64.lds        |  2 ++
 plat/xen/arm/link32.lds        | 21 ++++++++++++++
 plat/xen/memory.c              | 32 ++++++++++++++++++----
 plat/xen/x86/link64.lds        |  2 ++
 8 files changed, 173 insertions(+), 28 deletions(-)
 create mode 100644 plat/common/x86/link64.lds

-- 
2.20.1

_______________________________________________
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®.