aboutsummaryrefslogtreecommitdiff
path: root/bfd/reloc.c
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2016-12-18 22:53:47 -0800
committerAlan Modra <amodra@gmail.com>2016-12-20 12:26:33 +1030
commit1d65abb5e2cb1624b358dda27a53a070bec685cc (patch)
treefc2595c0626c5c415fe596dd9c1b98ca5aecf26a /bfd/reloc.c
parent96b0927de3ebdb302d8d571c43da3db5ec23847e (diff)
downloadgdb-1d65abb5e2cb1624b358dda27a53a070bec685cc.zip
gdb-1d65abb5e2cb1624b358dda27a53a070bec685cc.tar.gz
gdb-1d65abb5e2cb1624b358dda27a53a070bec685cc.tar.bz2
Formatting changes for RISC-V
This is a mixed bag of format changes: * Replacing constants with macros (0xffffffff with MINUS_ONE, for example). There's one technically functional change in here (some MINUS_ONEs are changed to 0), but it only changes the behavior of an otherwise-unused field. * Using 0 instead of 0x0 in the relocation table. * There were some missing spaces before parens, the spaces have been added. * A handful of comments are now more descriptive. * A bunch of whitespace-only changes, mostly alignment and brace newlines. bfd/ * elfnn-riscv.c: Formatting and comment fixes throughout. * elfxx-riscv.c: Likewise. (howto_table): Change the src_mask field from MINUS_ONE to 0 for R_RISCV_TLS_DTPMOD32, R_RISCV_TLS_DTPMOD64, R_RISCV_TLS_DTPREL32, R_RISCV_TLS_DTPREL64, R_RISCV_TLS_TPREL32, R_RISCV_TLS_TPREL64. opcodes/ * riscv-opc.c: Formatting fixes. gas/ * config/tc-riscv.c: Formatting and comment fixes throughout.
Diffstat (limited to 'bfd/reloc.c')
0 files changed, 0 insertions, 0 deletions