newlib-cygwin/newlib/libc/machine
Victor L. Do Nascimento c6e601de84 libc: arm: Implement setjmp GCC backwards compatibility.
When compiling Newlib for arm targets with GCC 12.1 onward, the
passing of architecture extension information to the assembler is
automatic, making the use of .fpu and .arch_extension directives
in assembly files redundant.

With older versions of GCC, however, these directives must be
hard-coded into the `arm/setjmp.S' file to allow the assembly of
instructions concerning the storage and subsequent reloading of the
floating point registers to/from the jump buffer, respectively.

This patch conditionally adds the `.fpu vfpxd' and `.arch_extension
mve' directives based on compile-time preprocessor macros concerning
GCC version and target architectural features, such that both the
assembly and linking of setjmp.S succeeds for older versions of
Newlib.
2023-02-03 13:07:08 +00:00
..
aarch64 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
amdgcn amdgcn: Use __builtin_gcn_ in libc/machine/amdgcn/getreent.c 2022-11-22 18:05:34 -05:00
arc newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
arm libc: arm: Implement setjmp GCC backwards compatibility. 2023-02-03 13:07:08 +00:00
bfin newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
cr16 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
cris Add _REENT_ERRNO(ptr) 2022-07-13 06:55:41 +02:00
crx newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
csky newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
d10v newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
d30v newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
epiphany newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
fr30 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
frv newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
ft32 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
h8300 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
h8500 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
hppa newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
i386 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
i960 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
iq2000 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
lm32 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
m32c newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
m32r newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
m68hc11 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
m68k newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
m88k newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
mep newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
microblaze newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
mips Fix a bug in setjmp for MIPS o32/o64 FPXX/FP64 2022-12-19 10:38:05 +01:00
mn10200 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
mn10300 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
moxie newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
msp430 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
mt newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
nds32 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
necv70 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
nios2 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
nvptx nvptx: In offloading execution, map '_exit' to 'abort' [GCC PR85463] 2023-01-19 21:53:02 +01:00
or1k newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
powerpc powerpc/setjmp: Fix 64-bit buffer alignment 2022-11-10 16:05:17 +01:00
pru newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
riscv RISC-V: Fix floating-point environment support for soft float 2023-01-27 14:25:44 +01:00
rl78 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
rx newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
sh newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
shared_x86/sys Cygwin: don't export _feinitialise from newlib 2021-04-13 12:55:34 +02:00
sparc newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
spu Add _REENT_IS_NULL() 2022-07-13 06:55:46 +02:00
tic4x newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
tic6x newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
tic80 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
v850 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
visium newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
w65 remove +x bit on source files 2022-12-21 22:38:57 -05:00
x86_64 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
xc16x newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
xstormy16 newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
z8k newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00
Makefile.inc newlib: libc: merge build up a directory 2022-03-16 21:18:25 -04:00