MIPS/GAS: Use frag symbol/offset directly in fixup creation
authorMaciej W. Rozycki <macro@imgtec.com>
Fri, 30 Jun 2017 23:42:19 +0000 (00:42 +0100)
committerMaciej W. Rozycki <macro@imgtec.com>
Fri, 30 Jun 2017 23:42:19 +0000 (00:42 +0100)
commitbbd27b7684baf424bdaa7f0a1d39a2cd5b0d6134
tree10fc7d1266f601db4f36fe0b9cb92e73ee5bd508
parent9f00292e69635d48623372c7a3e390dc5d159a8f
MIPS/GAS: Use frag symbol/offset directly in fixup creation

There is no need to use a helper expression in the creation of fixups
made from a frag's symbol and offset, because a simple `symbol+offset'
expression can be handled directly, with the use of a `fix_new' rather
than a `fix_new_exp' call.  Rewrite `md_convert_frag' using `fix_new'
then and remove all the unneeded helper expressions, simplifying code.

gas/
* config/tc-mips.c (md_convert_frag): Rewrite `fix_new_exp'
calls in terms of `fix_new'.
gas/ChangeLog
gas/config/tc-mips.c
This page took 0.024845 seconds and 4 git commands to generate.