diff --git a/gcc/config/aarch64/aarch64.c b/gcc/config/aarch64/aarch64.c index 5c2e5f93d35b..1ad615a0760b 100644 --- a/gcc/config/aarch64/aarch64.c +++ b/gcc/config/aarch64/aarch64.c @@ -11234,6 +11234,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;