diff options
author | Alan Modra <amodra@gmail.com> | 2019-05-27 11:37:51 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-05-27 14:08:17 +0930 |
commit | 5f63875b309f3ae9854ac8a12470111b794a70a2 (patch) | |
tree | 2fb0abfebefff752b4cf82964d4fafed99e3734e /ylwrap | |
parent | 61dd8e19a8b43037125d4a767f27e98e9181521b (diff) | |
download | gdb-5f63875b309f3ae9854ac8a12470111b794a70a2.zip gdb-5f63875b309f3ae9854ac8a12470111b794a70a2.tar.gz gdb-5f63875b309f3ae9854ac8a12470111b794a70a2.tar.bz2 |
Fix failure on powerpc 32-bit only targets
Targets that lack ppc64 support were failing the new prefix-reloc
test. This patch adds some test infrastructure to deal with that, and
changes the powerpc gas usage info so that "-a64" is omitted when
unsupported.
I've been meaning to break up the usage message for a long time;
While doing so causes translators some work now, it should make it
easier next time a new powerpc option is added.
* config/tc-ppc.c (is_ppc64_target): New function.
(md_show_usage): Split up usage message. Don't show -a64 when
unsupported.
testsuite/gas/ppc/ppc.exp (supports_ppc64): New.
(prefix-reloc): Only run for ppc64.
Diffstat (limited to 'ylwrap')
0 files changed, 0 insertions, 0 deletions