This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Handle .ehword pseudo-op for MIPS


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]