binutils-gdb/ld/testsuite
Pat Bernardi 85f7484a3a m68k: tag floating-point ABI used
This patch adds GNU attribute support to m68k and utilises it to tag the
floating-point calling convention used (hard-float or soft-float). It enables
the linker to ensure linked objects use a consistent floating-point ABI and
allows tools like GDB to infer the ABI used from the ELF file. It is based on
similar work done for PowerPC.

bfd/
	* elf32-m68k.c (m68k_elf_merge_obj_attributes): New function.
	(elf32_m68k_merge_private_bfd_data): Merge GNU attributes.
binutils/
	* readelf.c (display_m68k_gnu_attribute): New function.
	(process_arch_specific): Call display_m68k_gnu_attribute for EM_68K.
gas/
	* config/tc-m68k.c (m68k_elf_gnu_attribute): New function.
	(md_pseudo_table): Handle "gnu_attribute".
	* doc/as.texi: Document GNU attribute for M68K.
include/
	* elf/m68k.h: Add enum for GNU object attribute with floating point
	tag name and values.
ld/
	* testsuite/ld-m68k/attr-gnu-4-0.s: New file.
	* testsuite/ld-m68k/attr-gnu-4-1.s: Likewise.
	* testsuite/ld-m68k/attr-gnu-4-2.s: Likewise.
	* testsuite/ld-m68k/attr-gnu-4-00.d: Likewise.
	* testsuite/ld-m68k/attr-gnu-4-01.d: Likewise.
	* testsuite/ld-m68k/attr-gnu-4-02.d: Likewise.
	* testsuite/ld-m68k/attr-gnu-4-10.d: Likewise.
	* testsuite/ld-m68k/attr-gnu-4-11.d: Likewise.
	* testsuite/ld-m68k/attr-gnu-4-12.d: Likewise.
	* testsuite/ld-m68k/attr-gnu-4-20.d: Likewise.
	* testsuite/ld-m68k/attr-gnu-4-21.d: Likewise.
	* testsuite/ld-m68k/attr-gnu-4-22.d: Likewise.
	* testsuite/ld-m68k/m68k.exp: Run the new tests.
2020-06-26 14:42:19 +09:30
..
config Emit a warning when -z relro is unsupported 2020-06-19 09:50:20 +09:30
ld-aarch64 [PATCH v3] aarch64: Emit jump slot for conditional branch to undefined symbols 2020-05-19 11:07:52 +01:00
ld-alpha ecoff testsuite fixes 2020-06-20 10:59:11 +09:30
ld-arc [ARC][committed] Update test matching pattern. 2020-01-13 11:16:47 +02:00
ld-arm readelf: Consolidate --syms --use-dynamic with --dyn-syms 2020-04-14 05:00:34 -07:00
ld-auto-import Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-avr Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-bootstrap tcl global directive outside proc body does nothing (ld) 2020-06-04 16:11:19 +09:30
ld-bpf Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-cdtest Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-checks Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-cris cris: Don't generate unnecessary dynamic tags 2020-06-24 04:00:31 -07:00
ld-crx Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-csky csky: Don't generate unnecessary dynamic tags 2020-06-24 06:14:28 -07:00
ld-cygwin Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-d10v Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-discard Unnecessary load_lib in ld testsuite 2020-06-15 15:07:13 +09:30
ld-dynamic ld-dynamic test fixes 2020-06-04 14:13:04 +09:30
ld-elf Correct bfin XPASSes 2020-06-23 11:03:34 +09:30
ld-elfcomm tcl global directive outside proc body does nothing (ld) 2020-06-04 16:11:19 +09:30
ld-elfvers ld testsuite fixes for alpha 2020-06-19 10:01:09 +09:30
ld-elfvsb Use __asm__ rather than asm in ld testsuite 2020-06-16 22:13:20 +09:30
ld-elfweak Remove perror from ld_assemble, ld_compile and ld_nm 2020-06-20 15:53:37 +09:30
ld-fastcall Remove perror from ld_assemble, ld_compile and ld_nm 2020-06-20 15:53:37 +09:30
ld-frv tcl global directive outside proc body does nothing (ld) 2020-06-04 16:11:19 +09:30
ld-gc Remove perror from ld_assemble, ld_compile and ld_nm 2020-06-20 15:53:37 +09:30
ld-h8300 h8300-linux ld testsuite 2020-03-25 14:51:41 +10:30
ld-i386 Remove perror from ld_assemble, ld_compile and ld_nm 2020-06-20 15:53:37 +09:30
ld-ia64 Remove perror from ld_assemble, ld_compile and ld_nm 2020-06-20 15:53:37 +09:30
ld-ifunc ld testsuite fixes for alpha 2020-06-19 10:01:09 +09:30
ld-libs Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-linkonce PR26103 testcase 2020-06-15 12:11:27 +09:30
ld-m68hc11 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-m68k m68k: tag floating-point ABI used 2020-06-26 14:42:19 +09:30
ld-mep Remove perror from ld_assemble, ld_compile and ld_nm 2020-06-20 15:53:37 +09:30
ld-metag Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-mips-elf Remove perror from ld_assemble, ld_compile and ld_nm 2020-06-20 15:53:37 +09:30
ld-misc Fix linker tests to work with 16-bit targets. 2020-04-21 15:10:52 +01:00
ld-mmix mmix-mmo set SEC_DATA for .data section 2020-02-28 08:19:42 +10:30
ld-mn10300 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-msp430-elf MSP430: Add input section rules for .upper sections to default linker script 2020-01-16 13:22:31 +00:00
ld-nds32 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-nios2 Remove perror from ld_assemble, ld_compile and ld_nm 2020-06-20 15:53:37 +09:30
ld-or1k Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-pdp11 Fixes for the magic number used in PDP11 AOUT binaries. 2020-04-14 14:41:27 +01:00
ld-pe Use __asm__ rather than asm in ld testsuite 2020-06-16 22:13:20 +09:30
ld-pie Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-plugin ld: Set non_ir_ref_regular on source for assignment 2020-06-24 03:56:16 -07:00
ld-powerpc tcl global directive outside proc body does nothing (ld) 2020-06-04 16:11:19 +09:30
ld-pru Fix binary compatibility between GCC and the TI compiler for the PRU target. 2018-05-09 11:39:32 +01:00
ld-riscv-elf RISC-V: Report warning when linking the objects with different priv specs. 2020-06-22 10:01:14 +08:00
ld-s12z Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-s390 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-scripts Remove perror from ld_assemble, ld_compile and ld_nm 2020-06-20 15:53:37 +09:30
ld-selective Remove perror from ld_assemble, ld_compile and ld_nm 2020-06-20 15:53:37 +09:30
ld-sh SH gas configure and ld tests 2020-06-20 10:56:39 +09:30
ld-shared ld: Pass -z notext to linker for tests with DT_TEXTREL 2020-05-25 04:54:50 -07:00
ld-size Use __asm__ rather than asm in ld testsuite 2020-06-16 22:13:20 +09:30
ld-sparc Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-spu Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-srec tcl global directive outside proc body does nothing (ld) 2020-06-04 16:11:19 +09:30
ld-tic6x Remove perror from ld_assemble, ld_compile and ld_nm 2020-06-20 15:53:37 +09:30
ld-tilegx Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-tilepro Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-undefined Add generic tests for linker support of the -shared or -pie options to tests which use them. 2020-04-30 13:49:30 +01:00
ld-unique ld testsuite fails with default-PIE compiler 2020-06-04 10:20:48 +09:30
ld-v850 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-vax-elf Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-visium Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-vxworks Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-x86-64 Remove perror from ld_assemble, ld_compile and ld_nm 2020-06-20 15:53:37 +09:30
ld-xc16x Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-xstormy16 Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-xtensa xtensa: fix XTENSA_NDIFF handling for PR ld/25861 2020-04-29 18:34:23 -07:00
ld-z8k Update year range in copyright notice of binutils files 2020-01-01 18:42:54 +10:30
ld-z80 Various fixes for the Z80 support. 2020-02-19 17:46:10 +00:00
lib Remove perror from ld_assemble, ld_compile and ld_nm 2020-06-20 15:53:37 +09:30
ChangeLog-2004 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2005 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2006 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2007 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2008 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2009 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2010 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2011 Add copyright notices 2012-12-10 12:48:03 +00:00
ChangeLog-2012 Rotate binutils ChangeLog for 2013 2013-01-02 17:06:32 +00:00
ChangeLog-2013 New Year - binutils ChangeLog rotation 2014-01-08 05:32:12 -08:00
ChangeLog-2014 ChangeLog rotatation and copyright year update 2015-01-02 00:53:45 +10:30
ChangeLog-2015 binutils ChangeLog rotation 2016-01-01 22:59:17 +10:30
ChangeLog-9303 Add copyright notices 2012-12-10 12:48:03 +00:00