diff options
Diffstat (limited to 'gas/config/tc-arm.c')
-rw-r--r-- | gas/config/tc-arm.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index 69d3d4f..b471dfa 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -1279,6 +1279,17 @@ add_to_lit_pool () == inst.reloc.exp.X_add_number) && literals[lit_count].exp.X_unsigned == inst.reloc.exp.X_unsigned) break; + + if (literals[lit_count].exp.X_op == inst.reloc.exp.X_op + && inst.reloc.exp.X_op == O_symbol + && literals[lit_count].exp.X_add_number + == inst.reloc.exp.X_add_number + && literals[lit_count].exp.X_add_symbol + == inst.reloc.exp.X_add_symbol + && literals[lit_count].exp.X_op_symbol + == inst.reloc.exp.X_op_symbol) + break; + lit_count++; } |