Fix all unexpected failures in gas testsuite for pdp11-aout.
authorStephen Casner <casner@acm.org>
Thu, 28 May 2020 17:11:59 +0000 (10:11 -0700)
committerStephen Casner <casner@acm.org>
Thu, 28 May 2020 17:11:59 +0000 (10:11 -0700)
commit66e3eb08a52ba20d3fb468cef04952aafdf534d4
treee0960b4cc192eca87b8baa8c2b211dc8cf9404a2
parent4ad2c6a03ecb7faaf2658d3f8fb94f06441f2ba8
Fix all unexpected failures in gas testsuite for pdp11-aout.

These failures were caused by the PDP11's mix of little-endian octets
in shorts but shorts in big endian order for long or quad so regexps
did not match.  Also tests used addresses as values in .long which
required BRD_RELOC_32 that was not implemented.

* gas/config/tc-pdp11.c (md_number_to_chars): Implement .quad
* gas/testsuite/gas/all/gas.exp: Select alternate test scripts for
pdp11, skip octa test completely.
* gas/testsuite/gas/all/eqv-dot-pdp11.s: Identical to eqv-dot.s
* gas/testsuite/gas/all/eqv-dot-pdp11.d: Match different octet order.
* gas/testsuite/gas/all/cond-pdp11.l: Match different octet order.

* bfd/pdp11.c: Implement BRD_RELOC_32 to relocate the low 16 bits of
addreses in .long (used in testsuites) and .stab values.
bfd/ChangeLog
bfd/pdp11.c
gas/ChangeLog
gas/config/tc-pdp11.c
gas/testsuite/gas/all/cond-pdp11.l [new file with mode: 0644]
gas/testsuite/gas/all/eqv-dot-pdp11.d [new file with mode: 0644]
gas/testsuite/gas/all/eqv-dot-pdp11.s [new file with mode: 0644]
gas/testsuite/gas/all/gas.exp
This page took 0.025295 seconds and 4 git commands to generate.