LDFLAGS += --fix-cortex-a53-843419
endif
endif
-
-ALL_OBJS-y := arch/arm/$(TARGET_SUBARCH)/head.o $(ALL_OBJS-y)
obj-y += domctl.o
obj-y += domain.o
obj-y += entry.o
+obj-y += head.o
obj-y += insn.o
obj-$(CONFIG_LIVEPATCH) += livepatch.o
obj-y += proc-v7.o proc-caxx.o
obj-y += smpboot.o
obj-y += traps.o
obj-y += vfp.o
-
-extra-y += head.o
#endif /* !CONFIG_EARLY_PRINTK */
+ .section .text.header, "ax", %progbits
.arm
/*
obj-y += domctl.o
obj-y += domain.o
obj-y += entry.o
+obj-y += head.o
obj-y += insn.o
obj-$(CONFIG_LIVEPATCH) += livepatch.o
obj-y += smc.o
obj-y += traps.o
obj-y += vfp.o
obj-y += vsysreg.o
-
-extra-y += head.o
add \xb, \xb, x20
.endm
+ .section .text.header, "ax", %progbits
/*.aarch64*/
/*
_start = .;
.text : {
_stext = .; /* Text section */
- *(.text)
+ *(.text.header)
+
*(.text.cold)
- *(.text.unlikely)
+ *(.text.unlikely .text.*_unlikely .text.unlikely.*)
+
+ *(.text)
+
*(.fixup)
*(.gnu.warning)
_etext = .; /* End of text section */
obj-y += acpi/
+obj-y += boot/
obj-y += cpu/
+obj-y += efi/
obj-y += genapic/
obj-$(CONFIG_GUEST) += guest/
obj-$(CONFIG_HVM) += hvm/
obj-y += sysctl.o
endif
-# Allows "clean" to descend into boot/
-subdir- += boot
-
extra-y += asm-macros.i
extra-y += xen.lds
# Set up the assembler include path properly for older toolchains.
CFLAGS += -Wa,-I$(srctree)/include
-
-ALL_OBJS-y := arch/x86/boot/built_in.o arch/x86/efi/built_in.o $(ALL_OBJS-y)
#include <asm/cpufeature.h>
#include <public/elfnote.h>
- .text
+ .section .text.header, "ax", @progbits
.code32
#define sym_offs(sym) ((sym) - __XEN_VIRT_START)
_start = .;
DECL_SECTION(.text) {
_stext = .; /* Text and read-only data */
- *(.text)
- *(.text.__x86_indirect_thunk_*)
- *(.text.page_aligned)
+ *(.text.header)
. = ALIGN(PAGE_SIZE);
_stextentry = .;
kexec_reloc_end = .;
*(.text.cold)
- *(.text.unlikely)
+ *(.text.unlikely .text.*_unlikely .text.unlikely.*)
+
+ *(.text)
+ *(.text.__x86_indirect_thunk_*)
+ *(.text.page_aligned)
+
*(.fixup)
*(.gnu.warning)
_etext = .; /* End of text section */