Commit cfaaaf2e by Richard Kenner

(print_operand): New code '*' to print TOC register number.

(input_operand): Allow address of TOC entry.

From-SVN: r8380
parent 015183c6
...@@ -838,6 +838,11 @@ print_operand (file, x, code) ...@@ -838,6 +838,11 @@ print_operand (file, x, code)
asm_fprintf (file, RS6000_CALL_GLUE); asm_fprintf (file, RS6000_CALL_GLUE);
return; return;
case '*':
/* Write the register number of the TOC register. */
fputs (TARGET_MINIMAL_TOC ? "30" : "2", file);
return;
case 'A': case 'A':
/* If X is a constant integer whose low-order 5 bits are zero, /* If X is a constant integer whose low-order 5 bits are zero,
write 'l'. Otherwise, write 'r'. This is a kludge to fix a bug write 'l'. Otherwise, write 'r'. This is a kludge to fix a bug
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment