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

Daniel Sanders via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 16 08:10:41 PST 2015


dsanders added inline comments.

================
Comment at: lib/MC/MCObjectFileInfo.cpp:374
@@ +373,3 @@
+    // assembler/linker won't do the automatic conversion that the Linux tools
+    // do.
+    if (T.isOSFreeBSD()) {
----------------
emaste wrote:
> Perhaps we should be explicit about this applying to bfd ld 2.17.50. Someone could consider reverting this in a few years once we have a contemporary LLD as the system linker.
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.


http://reviews.llvm.org/D14700





More information about the llvm-commits mailing list