David S. Miller 9e8c70f96b Annotate sparc objects with cpu hardware capabilities used.
bfd/

	* elfxx-sparc.c (_bfd_sparc_elf_merge_private_bfd_data): New.
	* elfxx-sparc.h: Declare it.
	* elf32-sparc.c (elf32_sparc_merge_private_bfd_data): Call it.
	* elf64-sparc.c (elf64_sparc_merge_private_bfd_data): Likewise.

binutils/

	* readelf.c (display_sparc_hwcaps): New.
	(display_sparc_gnu_attribute): New.
	(process_sparc_specific): New.
	(process_arch_specific): When EM_SPARC, EM_SPARC32PLUS,
	or EM_SPARCV9 invoke process_sparc_specific.

gas/

	* config/tc-sparc.c (hwcap_seen): New bitmask, defined when
	not TE_SOLARIS.
	(sparc_ip): When not TE_SOLARIS, accumulate hwcap bits from
	sparc_opcode->flags of instruction into hwcap_seen.
	(sparc_md_end): Create Tag_GNU_Sparc_HWCAPS attribute if
	hwcap_seen is non-zero and not TE_SOLARIS.

gas/testsuite/

	* gas/sparc/hpcvis3.s: Update for fixed fchksum16 mnemonic.
	* gas/sparc/hpcvis3.d: Likewise.

include/elf/

	* sparc.h (Tag_GNU_Sparc_HWCAPS): New object attribute.
	(ELF_SPARC_HWCAP_*): New HWCAPS bitmask values.

include/opcode/

	* sparc.h (struct sparc_opcode): Expand 'flags' to unsigned int.
	(F_MUL32, F_DIV32, F_FSMULD, F_V8PLUS, F_POPC, F_VIS, F_VIS2,
	F_ASI_BLK_INIT, F_FMAF, F_VIS3, F_HPC, F_RANDOM, F_TRANS,
	F_FJFMAU, F_IMA, F_ASI_CACHE_SPARING): New flag bits.

opcodes/

	* sparc-opc.c (sparc_opcodes): Annotate table with HWCAP flag
	bits.  Fix "fchksm16" mnemonic.
2011-09-21 20:49:16 +00:00
..
2011-08-26 15:15:52 +00:00
2010-05-07 12:28:50 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2009-09-02 07:25:43 +00:00
2011-07-01 16:11:27 +00:00
2009-09-02 07:25:43 +00:00
2009-10-24 00:17:08 +00:00
2009-09-02 07:25:43 +00:00
2009-01-06 01:03:27 +00:00
2011-01-01 16:43:53 +00:00
2011-07-24 14:20:15 +00:00
2011-07-24 14:20:15 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-07-22 20:22:38 +00:00
2010-10-09 06:50:23 +00:00
2010-06-27 04:07:55 +00:00
2010-10-09 06:50:23 +00:00
2010-10-08 14:00:50 +00:00
2009-09-02 07:25:43 +00:00
2010-12-31 16:43:46 +00:00
2011-08-02 19:58:06 +00:00
2011-07-22 20:22:38 +00:00
2011-07-22 20:22:38 +00:00
2011-07-22 20:22:38 +00:00
2011-08-01 19:25:48 +00:00
2009-09-02 07:25:43 +00:00
2011-08-01 19:25:48 +00:00
2009-09-02 07:25:43 +00:00
2008-08-28 14:07:50 +00:00
2009-09-02 07:25:43 +00:00
2008-08-28 14:07:50 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2008-08-28 14:07:50 +00:00
2008-08-28 14:07:50 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2010-02-13 04:38:57 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-06-27 04:07:55 +00:00
2010-10-09 06:50:23 +00:00
2010-06-28 14:41:59 +00:00
2010-10-09 06:50:23 +00:00
2011-08-09 15:20:03 +00:00
2011-07-24 14:04:51 +00:00
2011-08-09 15:20:03 +00:00
2011-08-09 15:20:03 +00:00
2009-09-02 07:25:43 +00:00
2010-02-03 12:47:06 +00:00
2010-06-27 04:07:55 +00:00
2010-10-09 06:50:23 +00:00
2010-01-02 18:50:59 +00:00
2010-10-09 06:50:23 +00:00
2009-09-02 07:25:43 +00:00
2010-10-08 14:00:50 +00:00
2010-10-08 14:00:50 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-07-03 08:27:23 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-08-05 16:52:50 +00:00
2009-09-02 07:25:43 +00:00
2010-10-25 15:33:54 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2011-06-29 20:46:11 +00:00
2011-06-29 20:46:11 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2010-10-09 06:50:23 +00:00
2010-10-09 06:50:23 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00
2009-09-02 07:25:43 +00:00