[PATCH] D14700: [mips][freebsd] Explicitly select PC-relative Personality and LSDA encodings.

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 17 03:26:32 PST 2015


> -----Original Message-----
> From: Rafael EspĂ­ndola [mailto:rafael.espindola at gmail.com]
> Sent: 16 November 2015 21:12
> To: reviews+D14700+public+694feb8b7227989b at reviews.llvm.org; Daniel
> Sanders
> Cc: llvm-commits; Sean Bruno
> Subject: Re: [PATCH] D14700: [mips][freebsd] Explicitly select PC-relative
> Personality and LSDA encodings.
> 
> > Given the choice I'd prefer to change the Linux encodings to match
> FreeBSD at some point in the future. MIPS Linux seems to be the only target
> that has to ask for absolute encodings in order to get pc-relative encodings.
> 
> Can we do it now? I.E, always ask for pc relative?
> 
> Cheers,
> Rafael

Not yet. The Linux toolchains reject it with 'Error: invalid or unsupported encoding in .cfi_personality' and similar. As things stand, we need GAS changes to fix this properly but once IAS is enabled by default* and stable we'll be able to ignore GAS's behaviour for most (hopefully all) toolchains. That said, we'll want to keep -fno-integrated-as working (at least for a while).

* We're pretty close to enabling IAS for the O32 ABI at this point. We fail a couple 'ninja check' tests and LLVMLinux has a few minor issues but compiler recursion works nicely. I doubt N64 will be far behind but enabling IAS for that is closely tied to N32 which is badly broken until the MCTargetMachine work makes fixes possible.


More information about the llvm-commits mailing list