From: Michael Meissner Date: Tue, 25 Jun 1996 16:25:01 +0000 (+0000) Subject: Do not abort on labels for -fpic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=24f30767292e7e61f33f7337afc1c9ff55cb0bcb;p=gcc.git Do not abort on labels for -fpic From-SVN: r12330 --- diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index 6cd516df1cc..cbbf1cb0d5e 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -2567,7 +2567,7 @@ print_operand_address (file, x) { if (GET_CODE (x) == REG) fprintf (file, "0(%s)", reg_names[ REGNO (x) ]); - else if (GET_CODE (x) == SYMBOL_REF || GET_CODE (x) == CONST) + else if (GET_CODE (x) == SYMBOL_REF || GET_CODE (x) == CONST || GET_CODE (x) == LABEL_REF) { output_addr_const (file, x); if (small_data_operand (x, GET_MODE (x)))