+2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
+
+ * config/i386/i386.c (ix86_output_addr_diff_elt): Move the MACH-O
+ specific test before the one for HAVE_AS_GOTOFF_IN_DATA.
+
2018-08-22 Iain Sandoe <iain@sandoe.co.uk>
PR bootstrap/81033
if (TARGET_64BIT || TARGET_VXWORKS_RTP)
fprintf (file, "%s%s%d-%s%d\n",
directive, LPREFIX, value, LPREFIX, rel);
- else if (HAVE_AS_GOTOFF_IN_DATA)
- fprintf (file, ASM_LONG "%s%d@GOTOFF\n", LPREFIX, value);
#if TARGET_MACHO
else if (TARGET_MACHO)
{
putc ('\n', file);
}
#endif
+ else if (HAVE_AS_GOTOFF_IN_DATA)
+ fprintf (file, ASM_LONG "%s%d@GOTOFF\n", LPREFIX, value);
else
asm_fprintf (file, ASM_LONG "%U%s+[.-%s%d]\n",
GOT_SYMBOL_NAME, LPREFIX, value);