diff options
author | Alan Modra <amodra@gmail.com> | 2016-01-21 13:33:53 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2016-01-21 19:59:33 +1030 |
commit | aeb7056972f1b383578204b9151b0ae6d8c1df81 (patch) | |
tree | 19f5bd87b724ab2b626ec0f6acd3bde22f029de7 /ld/testsuite/ld-aarch64/farcall-bl-none-function.d | |
parent | de64ce13a78669f094d6909fce51d210e2f9d2c0 (diff) | |
download | gdb-aeb7056972f1b383578204b9151b0ae6d8c1df81.zip gdb-aeb7056972f1b383578204b9151b0ae6d8c1df81.tar.gz gdb-aeb7056972f1b383578204b9151b0ae6d8c1df81.tar.bz2 |
Convert macros in elf-linux-core.h to inline functions
Besides changing some macros into inline functions, this removes
redundant memsets and uses bfd_put_* rather than H_PUT_*.
* elf-linux-core.h (swap_linux_prpsinfo32_out): New function.
(swap_linux_prpsinfo64_out): New function.
(LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
(LINUX_PRPSINFO64_SWAP_FIELDS): Delete.
* elf.c (elfcore_write_linux_prpsinfo32): Adjust. Don't memset.
(elfcore_write_linux_prpsinfo64): Likewise.
* elf32-ppc.c (swap_ppc_linux_prpsinfo32_out): New function.
(PPC_LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
(elfcore_write_ppc_linux_prpsinfo32): Adjust. Don't memset.
Diffstat (limited to 'ld/testsuite/ld-aarch64/farcall-bl-none-function.d')
0 files changed, 0 insertions, 0 deletions