arm: Fix inclusion of arm-mlib.h header more than once (pr108505).
authorSrinath Parvathaneni <srinath.parvathaneni@arm.com>
Tue, 24 Jan 2023 09:57:52 +0000 (09:57 +0000)
committerSrinath Parvathaneni <srinath.parvathaneni@arm.com>
Tue, 24 Jan 2023 09:58:21 +0000 (09:58 +0000)
commit275820c09e5f397040cbff69c90012dc1e220faf
treee0613efc0e6f7871ec90f8aad12bea0c55a246fe
parente304e9283a97e28dc0074d8d30715d3f626b4e87
arm: Fix inclusion of arm-mlib.h header more than once (pr108505).

The patch fixes the build issue for arm-none-eabi target configured with
--with-multilib-list=aprofile,rmprofile, in which case the header file
arm/arm-mlib.h is being included more than once and the toolchain build
is failing (PR108505).

gcc/ChangeLog:

2023-01-24  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>

PR target/108505
* config.gcc (tm_file): Move the variable out of loop.
gcc/config.gcc