aboutsummaryrefslogtreecommitdiff
path: root/gdb/infcmd.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-04-29 11:00:30 +0930
committerAlan Modra <amodra@gmail.com>2023-05-03 09:03:01 +0930
commite84ca83738a748d8afe53e74b9666e74ae708dcc (patch)
tree868ef87059cf3328927a705daecf5900abff0620 /gdb/infcmd.c
parent59305ae6247e86f35bbe94ed1f9599af8f8e6f69 (diff)
downloadgdb-e84ca83738a748d8afe53e74b9666e74ae708dcc.zip
gdb-e84ca83738a748d8afe53e74b9666e74ae708dcc.tar.gz
gdb-e84ca83738a748d8afe53e74b9666e74ae708dcc.tar.bz2
_bfd_mips_elf_lo16_reloc vallo comment
This explains exactly why the high reloc adjustment is as it is, replacing the rather nebulous existing comment. I've also changed the expression from (lo+0x8000)&0xffff to (lo&0xffff)^0x8000 which better matches part of the standard 16-bit sign extension (resulting in exactly the same value), and hoisted the calculation out of the loop. * elfxx-mips.c (_bfd_mips_elf_lo16_reloc): Expand vallo comment. Hoist calculation out of loop.
Diffstat (limited to 'gdb/infcmd.c')
0 files changed, 0 insertions, 0 deletions