Commit 9b40e174 by Richard Stallman

(ASM_OUTPUT_OPCODE): Don't add .w suffix to jump insns.

From-SVN: r4885
parent 9c3b4c8b
...@@ -674,13 +674,14 @@ int switch_table_difference_label_flag; ...@@ -674,13 +674,14 @@ int switch_table_difference_label_flag;
#define SWITCH_JUMP_MATCH "jmp 6(%%pc," #define SWITCH_JUMP_MATCH "jmp 6(%%pc,"
/* cliffm@netcom.com says no need for .w suffix on jumps. */
#undef ASM_OUTPUT_OPCODE #undef ASM_OUTPUT_OPCODE
#define ASM_OUTPUT_OPCODE(FILE, PTR) \ #define ASM_OUTPUT_OPCODE(FILE, PTR) \
{ if ((PTR)[0] == 'j' && (PTR)[1] == 'b') \ { if ((PTR)[0] == 'j' && (PTR)[1] == 'b') \
{ ++(PTR); \ { ++(PTR); \
while (*(PTR) != ' ') \ while (*(PTR) != ' ') \
{ putc (*(PTR), (FILE)); ++(PTR); } \ { putc (*(PTR), (FILE)); ++(PTR); } \
fprintf ((FILE), ".w"); } \ } \
else if ((PTR)[0] == 's') \ else if ((PTR)[0] == 's') \
{ \ { \
if (!strncmp ((PTR), "swap", 4)) \ if (!strncmp ((PTR), "swap", 4)) \
......
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