Merge changes from topic "jc/toolchain_update_2.9"
* changes:
feat(build): add support for new binutils versions
docs: update toolchain requirements documentation
diff --git a/Makefile b/Makefile
index 5c9645b..e4b9066 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
#
-# Copyright (c) 2018-2022, Arm Limited. All rights reserved.
+# Copyright (c) 2018-2023, Arm Limited. All rights reserved.
#
# SPDX-License-Identifier: BSD-3-Clause
#
@@ -229,6 +229,10 @@
COMMON_LDFLAGS += --fatal-warnings -O1 --gc-sections --build-id=none
+# With ld.bfd version 2.39 and newer new warnings are added. Skip those since we
+# are not loaded by a elf loader.
+COMMON_LDFLAGS += --no-warn-rwx-segments
+
CC := ${CROSS_COMPILE}gcc
CPP := ${CROSS_COMPILE}cpp
AS := ${CROSS_COMPILE}gcc
diff --git a/docs/getting_started/requirements.rst b/docs/getting_started/requirements.rst
index f7868db..930a5f9 100644
--- a/docs/getting_started/requirements.rst
+++ b/docs/getting_started/requirements.rst
@@ -25,8 +25,8 @@
sudo apt-get install device-tree-compiler build-essential git perl libxml-libxml-perl
-Download and install the GNU cross-toolchain from Linaro. The TF-A Tests have
-been tested with version 11.3.Rel1 (gcc 11.3):
+Download and install the GNU cross-toolchain from Arm. The TF-A Tests have
+been tested with version 12.2.Rel1 (gcc 12.2):
- `GCC cross-toolchain`_