1 /* 2 * Copyright (c) 2017 Intel Corp. 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7 #include <zephyr/kernel.h> 8 #include <zephyr/sys/printk.h> 9 10 #include "targets.h" 11 12 const uint32_t rodata_var = RODATA_VALUE; 13 14 uint8_t data_buf[BUF_SIZE] __aligned(sizeof(int)); 15 overwrite_target(int i)16int overwrite_target(int i) 17 { 18 printk("text not modified\n"); 19 return (i - 1); 20 } 21