diff options
author | Nelson Chu <nelson.chu@sifive.com> | 2020-05-13 16:05:45 +0800 |
---|---|---|
committer | Nelson Chu <nelson.chu@sifive.com> | 2020-05-14 10:39:54 +0800 |
commit | fc46e8bd351bf9b4eef5110f5ef6f30f8bd57739 (patch) | |
tree | f702077d984cb0c73b65606b86bb9b4739b743e8 /libiberty | |
parent | 4ac31493c8029a4594dd6dbdcee058aead5ce781 (diff) | |
download | binutils-fc46e8bd351bf9b4eef5110f5ef6f30f8bd57739.zip binutils-fc46e8bd351bf9b4eef5110f5ef6f30f8bd57739.tar.gz binutils-fc46e8bd351bf9b4eef5110f5ef6f30f8bd57739.tar.bz2 |
RISC-V: Add elfNN_riscv_mkobject to initialize RISC-V tdata.
For now we only have one char pointer in RISC-V tdata, so it should be fine.
But once we need more elements in tdata, then we may get some uninitialize
or unexpected values. I do meet the same problem when extending the RISC-V
tdata.
bfd/
elfnn-riscv.c (elfNN_riscv_mkobject): New function. We need this
to initialize RISC-V tdata.
Diffstat (limited to 'libiberty')
0 files changed, 0 insertions, 0 deletions