1 /* 2 * Copyright (c) 2022 Intel Corporation 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/kernel.h> 8 9 extern void reloc(void); 10 main(void)11int main(void) 12 { 13 printk("%s location: %p\n", __func__, main); 14 printk("Calling relocated code\n"); 15 reloc(); 16 return 0; 17 } 18