diff options
author | Jim Wilson <jimw@sifive.com> | 2019-01-16 13:37:35 -0800 |
---|---|---|
committer | Jim Wilson <jimw@sifive.com> | 2019-01-16 13:37:35 -0800 |
commit | a4bf3d0720b1093dd148b7a728f92ce690a8a034 (patch) | |
tree | f49a3a49ed0bae1cbdba2605a5805a8d0967474a /bfd/pe-i386.c | |
parent | 7d7a7d7ccf6047cc5b480064e9eb9489542c0dd7 (diff) | |
download | gdb-a4bf3d0720b1093dd148b7a728f92ce690a8a034.zip gdb-a4bf3d0720b1093dd148b7a728f92ce690a8a034.tar.gz gdb-a4bf3d0720b1093dd148b7a728f92ce690a8a034.tar.bz2 |
Don't emit vendor attribute section if there is no attribute to emit.
2019-01-16 Kito Cheng <kito@andestech.com>
bfd/
* elf-attrs.c (vendor_obj_attr_size): Return 0 if size is 0 even
for OBJ_ATTR_PROC.
gas/
* testsuite/gas/riscv/attribute-empty.d: New.
Diffstat (limited to 'bfd/pe-i386.c')
0 files changed, 0 insertions, 0 deletions