Include code in trap.S for APCS only.
The code in trap.S is to support the old APCS chunked stack variant, which dates back to the Acorn days, so put it under #ifndef __ARM_EABI__. * libgloss/arm/trap.S: Use __ARM_EABI rather than PREFER_THUMB. * newlib/libc/sys/arm/trap.S: Use __ARM_EABI rather than __thumb2__.
This commit is contained in:
parent
630808d2a2
commit
cc430406ac
|
@ -1,6 +1,6 @@
|
|||
#include "arm.h"
|
||||
/* Run-time exception support */
|
||||
#ifndef PREFER_THUMB
|
||||
#ifndef __ARM_EABI__
|
||||
#include "swi.h"
|
||||
|
||||
/* .text is used instead of .section .text so it works with arm-aout too. */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
/* Run-time exception support */
|
||||
#if !defined(__thumb2__)
|
||||
#ifndef __ARM_EABI__
|
||||
#include "swi.h"
|
||||
|
||||
/* .text is used instead of .section .text so it works with arm-aout too. */
|
||||
|
|
Loading…
Reference in New Issue