diff options
author | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-04-07 22:30:37 +0100 |
---|---|---|
committer | Andrew Burgess <andrew.burgess@embecosm.com> | 2019-04-11 23:40:25 +0100 |
commit | a9158a863c18545634cb0f0462b326aeca30634c (patch) | |
tree | 9b310fc775e36db1a486c2efeb50394b60b03dd9 /ld/lexsup.c | |
parent | 41077b6625d16cc6c0c4b404a177a8850300b8a0 (diff) | |
download | gdb-a9158a863c18545634cb0f0462b326aeca30634c.zip gdb-a9158a863c18545634cb0f0462b326aeca30634c.tar.gz gdb-a9158a863c18545634cb0f0462b326aeca30634c.tar.bz2 |
gdb/riscv: Remove riscv_type_alignment function
Make use of the type_align function and remove riscv_type_alignment as
it is no longer needed. I tested this against a number of RV32 and
RV64 targets, and I also ran the tests with an assertion in place
checking that the old riscv_type_alignment function gives the same
answer as the common type_align function - it does, and all the tests
still pass.
gdb/ChangeLog:
* riscv-tdep.c (riscv_type_align): New function.
(riscv_type_alignment): Delete.
(riscv_arg_location): Use 'type_align'.
(riscv_gdbarch_init): Register riscv_type_align gdbarch function.
Diffstat (limited to 'ld/lexsup.c')
0 files changed, 0 insertions, 0 deletions