mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-15 07:50:29 +08:00
Fix arm target build with inhibit_libc
Do not declare abort in "libgcc/unwind-arm-common.inc" since it is already provided by "tsystem.h". It fixes the following build error: In file included from libgcc/config/arm/unwind-arm.c:144: libgcc/unwind-arm-common.inc:55:24: error: macro "abort" passed 1 arguments, but takes just 0 55 | extern void abort (void); libgcc/ * unwind-arm-common.inc (abort): Remove.
This commit is contained in:
parent
424e460157
commit
7a6f40d045
@ -50,10 +50,6 @@
|
||||
#define ARM_SIGCONTEXT_R0 0xc
|
||||
#endif
|
||||
|
||||
/* We add a prototype for abort here to avoid creating a dependency on
|
||||
target headers. */
|
||||
extern void abort (void);
|
||||
|
||||
/* Definitions for C++ runtime support routines. We make these weak
|
||||
declarations to avoid pulling in libsupc++ unnecessarily. */
|
||||
typedef unsigned char bool;
|
||||
|
Loading…
x
Reference in New Issue
Block a user