Generate BTI GNU note for TS assembly files
Add GNU note after compiling assembly files to
avoid having warning.
Signed-off-by: Gabor Toth <gabor.toth2@arm.com>
Change-Id: I9c293826ec0d0a3ad7df5d19eab80e1d0d8069ae
diff --git a/components/common/utils/include/elf_common.h b/components/common/utils/include/elf_common.h
index 9c67b9d..a2bf375 100644
--- a/components/common/utils/include/elf_common.h
+++ b/components/common/utils/include/elf_common.h
@@ -1,5 +1,6 @@
/* SPDX-License-Identifier: BSD-2-Clause */
/*-
+ * Copyright (c) 2024, Arm Limited and Contributors. All rights reserved.
* Copyright (c) 2000, 2001, 2008, 2011, David E. O'Brien
* Copyright (c) 1998 John D. Polstra.
* All rights reserved.
@@ -31,13 +32,14 @@
#ifndef _SYS_ELF_COMMON_H_
#define _SYS_ELF_COMMON_H_ 1
-#include <stdint.h>
-
/*
* ELF definitions that are independent of architecture or word size.
*/
#ifndef __ASSEMBLER__
+
+#include <stdint.h>
+
/*
* Note header. The ".note" section contains an array of notes. Each
* begins with this header, aligned to a word boundary. Immediately