gcc/libgcc/config
Georg-Johann Lay 29f3def308 Support 64-bit double and 64-bit long double configurations.
gcc/
	Support 64-bit double and 64-bit long double configurations.

	PR target/92055
	* config.gcc (tm_defines) [avr]: Set from --with-double=,
	--with-long-double=.
	* config/avr/t-multilib: Remove.
	* config/avr/t-avr: Output of genmultilib.awk is now fully
	dynamically generated and no more part of the repo.
	(HAVE_DOUBLE_MULTILIB, HAVE_LONG_DOUBLE_MULTILIB): New variables.
	Pass them down to...
	* config/avr/genmultilib.awk: ...here and handle them.
	* gcc/config/avr/avr.opt (-mdouble=, avr_double). New option and var.
	(-mlong-double=, avr_long_double). New option and var.
	* common/config/avr/avr-common.c (opts.h, diagnostic.h): Include.
	(TARGET_OPTION_OPTIMIZATION_TABLE) <-mdouble=, -mlong-double=>:
	Set default as requested by --with-double=
	(TARGET_HANDLE_OPTION): Define to this...
	(avr_handle_option): ...new hook worker.
	* config/avr/avr.h (DOUBLE_TYPE_SIZE): Define to avr_double.
	(LONG_DOUBLE_TYPE_SIZE): Define to avr_long_double.
	(avr_double_lib): New proto for spec function.
	(EXTRA_SPEC_FUNCTIONS) <double-lib>: Add.
	(DRIVER_SELF_SPECS): Call %:double-lib.
	* config/avr/avr.c (avr_option_override): Assert
	sizeof(long double) >= sizeof(double) for the target.
	* config/avr/avr-c.c (avr_cpu_cpp_builtins)
	[__HAVE_DOUBLE_MULTILIB__, __HAVE_LONG_DOUBLE_MULTILIB__]
	[__HAVE_DOUBLE64__, __HAVE_DOUBLE32__, __DEFAULT_DOUBLE__=]
	[__HAVE_LONG_DOUBLE64__, __HAVE_LONG_DOUBLE32__]
	[__HAVE_LONG_DOUBLE_IS_DOUBLE__, __DEFAULT_LONG_DOUBLE__=]:
	New built-in define depending on --with-double=, --with-long-double=.
	* config/avr/driver-avr.c (avr_double_lib): New spec function.
	* doc/invoke.tex (AVR Options) <-mdouble=,-mlong-double=>: Doc.
	* doc/install.texi (Cross-Compiler-Specific Options)
	<--with-double=, --with-long-double=>: Doc.

libgcc/
	Support 64-bit double and 64-bit long double configurations.

	PR target/92055
	* config/avr/t-avr (HOST_LIBGCC2_CFLAGS): Only add -DF=SF if
	long double is a 32-bit type.
	* config/avr/t-avrlibc: Copy double64 and long-double64
	multilib(s) from the vanilla one.
	* config/avr/t-copy-libgcc: New Makefile snip.

From-SVN: r277908
2019-11-07 09:19:31 +00:00
..
aarch64 aarch64: Configure for sys/auxv.h in libgcc for lse-init.c 2019-09-25 15:51:55 -07:00
alpha linux-unwind.h (alpha_fallback_frame_state): Cast 'mcontext_t *' &rt_->uc.uc_mcontext to 'struct sigcontext *'. 2019-02-20 22:37:21 +01:00
arc re PR libgcc/78804 ([RX] -m64bit-doubles does not work) 2019-11-03 12:09:26 +00:00
arm Revert [ARM/FDPIC v6 13/24] [ARM] FDPIC: Force LSB bit for PC in Cortex-M architecture 2019-09-20 15:32:20 +02:00
avr Support 64-bit double and 64-bit long double configurations. 2019-11-07 09:19:31 +00:00
bfin Update copyright years. 2019-01-01 13:31:55 +01:00
bpf GCC port for eBPF 2019-09-09 12:13:23 +02:00
c6x PR other/16615 [1/5] 2019-01-09 16:37:45 -05:00
cr16 Update copyright years. 2019-01-01 13:31:55 +01:00
cris Update copyright years. 2019-01-01 13:31:55 +01:00
csky Update copyright years. 2019-01-01 13:31:55 +01:00
epiphany Update copyright years. 2019-01-01 13:31:55 +01:00
fr30 Update copyright years. 2019-01-01 13:31:55 +01:00
frv Update copyright years. 2019-01-01 13:31:55 +01:00
ft32 Update copyright years. 2019-01-01 13:31:55 +01:00
gcn Stub implementation of unwinding for AMD GCN. 2019-06-25 11:41:33 +00:00
h8300 Update copyright years. 2019-01-01 13:31:55 +01:00
i386 Add TIGERLAKE and COOPERLAKE to GCC. 2019-08-20 07:06:03 +00:00
ia64 crtbegin.S (__dso_handle): Put in .sdata/.sbss rather than .data/.bss so it can be accessed via... 2019-06-05 16:27:37 -06:00
iq2000 Update copyright years. 2019-01-01 13:31:55 +01:00
libbid Update copyright years. 2019-01-01 13:31:55 +01:00
lm32 Update copyright years. 2019-01-01 13:31:55 +01:00
m32c Update copyright years. 2019-01-01 13:31:55 +01:00
m32r Update copyright years. 2019-01-01 13:31:55 +01:00
m68k Update copyright years. 2019-01-01 13:31:55 +01:00
mcore Update copyright years. 2019-01-01 13:31:55 +01:00
microblaze Update copyright years. 2019-01-01 13:31:55 +01:00
mips Update copyright years. 2019-01-01 13:31:55 +01:00
mmix Update copyright years. 2019-01-01 13:31:55 +01:00
moxie Update copyright years. 2019-01-01 13:31:55 +01:00
msp430 lib2hw_mul.S: Fix wrong syntax in branch instruction. 2019-10-23 16:52:47 +00:00
nds32 [NDS32] Refine force unwind. Linux kernel only uses RT_SIGRETURN. 2019-04-15 08:19:23 +00:00
nios2 Update copyright years. 2019-01-01 13:31:55 +01:00
nvptx [nvptx] Fix __main missing prototype warning in crt0.c 2019-06-18 09:19:28 +00:00
or1k or1k: Fix issues with msoft-div 2019-07-21 20:59:50 +00:00
pa fptr.c (_dl_read_access_allowed): Change argument to unsigned int. 2019-10-15 22:17:14 +00:00
pdp11 t-pdp11 (LIB2ADD): Add divmod.c. 2018-11-01 14:36:52 -04:00
pru Initial TI PRU libgcc port 2019-06-12 19:28:51 +00:00
riscv RISC-V: Build soft-float divide routines for -mno-fdiv. 2019-11-01 13:35:12 -07:00
rl78 Update copyright years. 2019-01-01 13:31:55 +01:00
rs6000 [Darwin] Some TLC for older Darwin versions. 2019-07-03 18:36:28 +00:00
rx config.host (rx-*-linux*): Add t-fdpbit to tmake_file Add appropriate tm_file clause as well. 2019-06-05 17:20:27 -06:00
s390 Update copyright years. 2019-01-01 13:31:55 +01:00
score Update copyright years. 2019-01-01 13:31:55 +01:00
sh Update copyright years. 2019-01-01 13:31:55 +01:00
sol2 Update copyright years. 2019-01-01 13:31:55 +01:00
sparc Remove pre-Solaris 11/SPARC unwinding support 2019-05-28 17:27:51 +00:00
stormy16 Update copyright years. 2019-01-01 13:31:55 +01:00
tilegx
tilepro PR other/16615 [1/5] 2019-01-09 16:37:45 -05:00
v850 Update copyright years. 2019-01-01 13:31:55 +01:00
vax Update copyright years. 2019-01-01 13:31:55 +01:00
visium lib2funcs.c (__set_trampoline_parity): Replace TRAMPOLINE_SIZE with __LIBGCC_TRAMPOLINE_SIZE__. 2019-02-15 10:40:34 +00:00
vms Update copyright years. 2019-01-01 13:31:55 +01:00
xtensa Update copyright years. 2019-01-01 13:31:55 +01:00
darwin-64.c Update copyright years. 2019-01-01 13:31:55 +01:00
darwin-crt-tm.c Update copyright years. 2019-01-01 13:31:55 +01:00
darwin-crt3.c Update copyright years. 2019-01-01 13:31:55 +01:00
darwin10-unwind-find-enc-func.c Move Darwin10 unwinder fix to a crt shim. 2018-08-22 11:58:43 +00:00
gthr-lynx.h Update copyright years. 2019-01-01 13:31:55 +01:00
gthr-rtems.h Update copyright years. 2019-01-01 13:31:55 +01:00
gthr-vxworks.h Update copyright years. 2019-01-01 13:31:55 +01:00
hardfp.c Update copyright years. 2019-01-01 13:31:55 +01:00
libgcc-glibc.ver Update copyright years. 2019-01-01 13:31:55 +01:00
libgcc-libsystem.ver
no-sfp-machine.h
no-unwind.h
t-crtfm
t-crtstuff-pic
t-darwin [Darwin] Some TLC for older Darwin versions. 2019-07-03 18:36:28 +00:00
t-dfprules
t-eh-dw2-dip
t-fdpbit
t-fixedpoint-gnu-prefix
t-fpbit
t-freebsd-thread
t-gnu-prefix
t-hardfp Update copyright years. 2019-01-01 13:31:55 +01:00
t-hardfp-sfdf Update copyright years. 2019-01-01 13:31:55 +01:00
t-libgcc-pic
t-libunwind
t-libunwind-elf Update copyright years. 2019-01-01 13:31:55 +01:00
t-linux
t-openbsd-thread
t-rtems
t-slibgcc Update copyright years. 2019-01-01 13:31:55 +01:00
t-slibgcc-darwin
t-slibgcc-elf-ver
t-slibgcc-fuchsia Update copyright years. 2019-01-01 13:31:55 +01:00
t-slibgcc-gld
t-slibgcc-gld-nover
t-slibgcc-hpux
t-slibgcc-libgcc Update copyright years. 2019-01-01 13:31:55 +01:00
t-slibgcc-nolc-override
t-slibgcc-sld Use v2 map syntax in libgcc-unwind.map if Solaris ld supports it 2018-09-18 07:04:15 +00:00
t-slibgcc-vms
t-softfp Update copyright years. 2019-01-01 13:31:55 +01:00
t-softfp-compat
t-softfp-excl
t-softfp-sfdf
t-softfp-sfdftf
t-softfp-tf
t-stack
t-tls
t-vxworks Leverage cacheTextUpdate for __clear_cache on VxWorks 2018-09-21 13:09:51 +00:00
t-vxworks7 Leverage cacheTextUpdate for __clear_cache on VxWorks 2018-09-21 13:09:51 +00:00
unwind-dw2-fde-darwin.c Update copyright years. 2019-01-01 13:31:55 +01:00
vxcache.c Update copyright years. 2019-01-01 13:31:55 +01:00
vxlib-tls.c PR other/16615 [1/5] 2019-01-09 16:37:45 -05:00
vxlib.c Update copyright years. 2019-01-01 13:31:55 +01:00