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 /gas/ChangeLog | |
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 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 7dad341..94a6a68 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 2017-06-30 Maciej W. Rozycki <macro@imgtec.com> + * config/tc-mips.c (md_convert_frag): Rewrite `fix_new_exp' + calls in terms of `fix_new'. + +2017-06-30 Maciej W. Rozycki <macro@imgtec.com> + * config/tc-mips.c (md_convert_frag): Don't make a helper expression symbol for `fix_new_exp' called with a non-zero offset. |