diff options
author | David S. Miller <davem@redhat.com> | 2011-09-22 00:03:30 +0000 |
---|---|---|
committer | David S. Miller <davem@redhat.com> | 2011-09-22 00:03:30 +0000 |
commit | 4bafe00ecf3e7b63d3b2b23f5406637261c6b391 (patch) | |
tree | 369728fcaa3c78d1b314f969e2ddd139e1964963 /compile | |
parent | a3a129def5d5be57e3766ff7386f238eebd205a1 (diff) | |
download | gdb-4bafe00ecf3e7b63d3b2b23f5406637261c6b391.zip gdb-4bafe00ecf3e7b63d3b2b23f5406637261c6b391.tar.gz gdb-4bafe00ecf3e7b63d3b2b23f5406637261c6b391.tar.bz2 |
Add new sparc options to control instruction availability.
gas/
* config/tc-sparc.c (hwcap_allowed): New.
(struct sparc_arch): New field 'hwcap_allowed' containing a bitmask
of F_FOO flags which are enabled by the particular arch setting.
Add new options that provide explicit access to new instructions.
(md_parse_option): Only bump max_architecture if the requested one
is larger, or this is the first explicit request.
(get_hwcap_name): New function.
(sparc_ip): Validate that hwcaps used by an instruction have actually
been enabled.
* doc/c-sparc.texi: Document new sparc options.
Diffstat (limited to 'compile')
0 files changed, 0 insertions, 0 deletions