diff options
author | David S. Miller <davem@redhat.com> | 2011-09-21 20:49:16 +0000 |
---|---|---|
committer | David S. Miller <davem@redhat.com> | 2011-09-21 20:49:16 +0000 |
commit | 9e8c70f96b16cf31c016ccdb40c3ea414e0715da (patch) | |
tree | 1e816ad7a344eb229efeef9f3adf195c3c7b5718 /include/elf/ChangeLog | |
parent | cdd30861d6e8afa161c07e35b31fd6f73de7f246 (diff) | |
download | gdb-9e8c70f96b16cf31c016ccdb40c3ea414e0715da.zip gdb-9e8c70f96b16cf31c016ccdb40c3ea414e0715da.tar.gz gdb-9e8c70f96b16cf31c016ccdb40c3ea414e0715da.tar.bz2 |
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.
Diffstat (limited to 'include/elf/ChangeLog')
-rw-r--r-- | include/elf/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog index 02eb787..e04b26d 100644 --- a/include/elf/ChangeLog +++ b/include/elf/ChangeLog @@ -1,3 +1,8 @@ +2011-09-21 David S. Miller <davem@davemloft.net> + + * sparc.h (Tag_GNU_Sparc_HWCAPS): New object attribute. + (ELF_SPARC_HWCAP_*): New HWCAPS bitmask values. + 2011-08-12 H.J. Lu <hongjiu.lu@intel.com> PR ld/13082 |