diff options
author | Iain Sandoe <iains@gcc.gnu.org> | 2018-12-12 09:25:13 +0000 |
---|---|---|
committer | Iain Sandoe <iains@gcc.gnu.org> | 2018-12-12 09:25:13 +0000 |
commit | 0c1342dfade9b202cb4b896bf8ce0646dd1d06b8 (patch) | |
tree | 4b586323a4dda2239b08c6e6c1345f2f60994725 | |
parent | be611c9c5a544b08cfd3ff5d45b04a127d4d055f (diff) | |
download | gcc-0c1342dfade9b202cb4b896bf8ce0646dd1d06b8.zip gcc-0c1342dfade9b202cb4b896bf8ce0646dd1d06b8.tar.gz gcc-0c1342dfade9b202cb4b896bf8ce0646dd1d06b8.tar.bz2 |
rs6000 - add missed hunk
This add the hunk
(macho_call_template): Remove.
missed from r267049
From-SVN: r267050
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c index a8e50cf..f774e2d 100644 --- a/gcc/config/rs6000/rs6000.c +++ b/gcc/config/rs6000/rs6000.c @@ -33208,49 +33208,6 @@ get_prev_label (tree function_name) return NULL_TREE; } -/* INSN is either a function call or a millicode call. It may have an - unconditional jump in its delay slot. - - CALL_DEST is the routine we are calling. */ - -char * -macho_call_template (rtx_insn *insn, rtx *operands, int dest_operand_number, - int cookie_operand_number) -{ - static char buf[256]; - if (darwin_emit_branch_islands - && GET_CODE (operands[dest_operand_number]) == SYMBOL_REF - && (INTVAL (operands[cookie_operand_number]) & CALL_LONG)) - { - tree labelname; - tree funname = get_identifier (XSTR (operands[dest_operand_number], 0)); - - if (no_previous_def (funname)) - { - rtx label_rtx = gen_label_rtx (); - char *label_buf, temp_buf[256]; - ASM_GENERATE_INTERNAL_LABEL (temp_buf, "L", - CODE_LABEL_NUMBER (label_rtx)); - label_buf = temp_buf[0] == '*' ? temp_buf + 1 : temp_buf; - labelname = get_identifier (label_buf); - add_compiler_branch_island (labelname, funname, insn_line (insn)); - } - else - labelname = get_prev_label (funname); - - /* "jbsr foo, L42" is Mach-O for "Link as 'bl foo' if a 'bl' - instruction will reach 'foo', otherwise link as 'bl L42'". - "L42" should be a 'branch island', that will do a far jump to - 'foo'. Branch islands are generated in - macho_branch_islands(). */ - sprintf (buf, "jbsr %%z%d,%.246s", - dest_operand_number, IDENTIFIER_POINTER (labelname)); - } - else - sprintf (buf, "bl %%z%d", dest_operand_number); - return buf; -} - /* Generate PIC and indirect symbol stubs. */ void |