diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index c28eb7923e71..dc327b17c996 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -11230,6 +11230,13 @@ output_macho_postfix_expr (FILE *file, rtx x, const char *postfix) output_addr_const (file, XEXP (x, 0)); break; + case UNSPEC: + if (XINT (x, 1) == UNSPEC_SALT_ADDR) + { + output_macho_postfix_expr (file, XVECEXP (x, 0, 0), postfix); + break; + } + /* FALLTHROUGH */ default: if (targetm.asm_out.output_addr_const_extra (file, x)) break;