mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
xen: Introduce a header to store common linker scripts content
Both x86 and arm linker scripts share quite a lot of common content. It is difficult to keep syncing them up, thus introduce a new header in include/xen called xen.lds.h to store the internals mutual to all the linker scripts. Include this header in linker scripts for x86 and arm. This patch serves as an intermediate step before populating xen.lds.h and making use of its content in the linker scripts later on. Signed-off-by: Michal Orzel <michal.orzel@arm.com> Acked-by: Jan Beulich <jbeulich@suse.com> Acked-by: Julien Grall <jgrall@amazon.com>
This commit is contained in:
1 parent
8847ec08fd
commit
6af59c45a4
3 files changed
+10
No files matched your search
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <xen/cache.h>
|
||||
#include <xen/lib.h>
|
||||
#include <xen/xen.lds.h>
|
||||
#include <asm/page.h>
|
||||
#undef ENTRY
|
||||
#undef ALIGN
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <xen/cache.h>
|
||||
#include <xen/lib.h>
|
||||
#include <xen/xen.lds.h>
|
||||
#include <asm/page.h>
|
||||
#undef ENTRY
|
||||
#undef ALIGN
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#ifndef __XEN_LDS_H__
|
||||
#define __XEN_LDS_H__
|
||||
|
||||
/*
|
||||
* Common macros to be used in architecture specific linker scripts.
|
||||
*/
|
||||
|
||||
#endif /* __XEN_LDS_H__ */
|
||||