]> git.ipfire.org Git - thirdparty/gcc.git/commit
aarch64: fix build failure on aarch64-none-elf
authorMatthieu Longo <matthieu.longo@arm.com>
Thu, 26 Sep 2024 17:14:23 +0000 (18:14 +0100)
committerRichard Earnshaw <rearnsha@arm.com>
Fri, 27 Sep 2024 14:35:10 +0000 (15:35 +0100)
commit0ff49a5c1d39382c57d614a29510559068947376
treef3bac4e19e6ef29789e2491f78586522c75867ad
parent64072e60b1599ae7d347c2cdee46c3b0e37fc338
aarch64: fix build failure on aarch64-none-elf

A previous patch ([1]) introduced a build regression on aarch64-none-elf
target. The changes were primarilly tested on aarch64-unknown-linux-gnu,
so the issue was missed during development.
The includes are slighly different between the two targets, and due to some
include rules ([2]), "aarch64-unwind-def.h" was not found.

[1]: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=bdf41d627c13bc5f0dc676991f4513daa9d9ae36

[2]: https://gcc.gnu.org/onlinedocs/cpp/Include-Syntax.html
> include "file"
> ...  It searches for a file named file first in the directory
> containing the current file, ...

libgcc/ChangeLog:

* config/aarch64/aarch64-unwind.h: Fix header path.
libgcc/config/aarch64/aarch64-unwind.h