Skip to content
Snippets Groups Projects
Commit 0ff49a5c authored by Matthieu Longo's avatar Matthieu Longo Committed by Richard Earnshaw
Browse files

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.
parent 64072e60
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see ...@@ -25,7 +25,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
#if !defined (AARCH64_UNWIND_H) && !defined (__ILP32__) #if !defined (AARCH64_UNWIND_H) && !defined (__ILP32__)
#define AARCH64_UNWIND_H #define AARCH64_UNWIND_H
#include "aarch64-unwind-def.h" #include "config/aarch64/aarch64-unwind-def.h"
#include "ansidecl.h" #include "ansidecl.h"
#include <stdbool.h> #include <stdbool.h>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment