[Patch] Handle .ehword pseudo-op for MIPS
Maciej W. Rozycki
macro@codesourcery.com
Thu Jun 6 17:33:00 GMT 2013
On Fri, 31 May 2013, Moore, Catherine wrote:
> This is the next piece of the compact exception handling implementation.
> This patch enables support for the .ehword pseudo-op.
Regrettably the new test case fails for ECOFF targets:
mips-ecoff +FAIL: gas/mips/ehword
mipsel-ecoff +FAIL: gas/mips/ehword
Executing on host: sh -c {../as-new -o dump.o .../gas/testsuite/gas/mips/ehword.s 2>&1} /dev/null gas.out (timeout = 300)
.../gas/testsuite/gas/mips/ehword.s: Assembler messages:
.../gas/testsuite/gas/mips/ehword.s:1: Error: Can not represent BFD_RELOC_MIPS_EH relocation in this object file format
-- perhaps the new pseudo-op should only be enabled for ELF targets and
the test case excluded otherwise?
> MIPS Compact Exception Handling Specification:
> https://github.com/MentorEmbedded/cxx-abi/blob/master/MIPSCompactEH.pdf
Is is intentional the new relocations (R_MIPS_PC32, R_MIPS_EH) are
partial_inplace even on RELA targets? If so, then would you please
explain why?
Thanks,
Maciej
More information about the Binutils
mailing list