diff options
author | Maciej W. Rozycki <macro@imgtec.com> | 2017-07-01 00:42:19 +0100 |
---|---|---|
committer | Maciej W. Rozycki <macro@imgtec.com> | 2017-07-01 00:42:19 +0100 |
commit | bbd27b7684baf424bdaa7f0a1d39a2cd5b0d6134 (patch) | |
tree | 10fc7d1266f601db4f36fe0b9cb92e73ee5bd508 /binutils/objdump.c | |
parent | 9f00292e69635d48623372c7a3e390dc5d159a8f (diff) | |
download | gdb-bbd27b7684baf424bdaa7f0a1d39a2cd5b0d6134.zip gdb-bbd27b7684baf424bdaa7f0a1d39a2cd5b0d6134.tar.gz gdb-bbd27b7684baf424bdaa7f0a1d39a2cd5b0d6134.tar.bz2 |
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'.
Diffstat (limited to 'binutils/objdump.c')
0 files changed, 0 insertions, 0 deletions