Add file size to ELF symbol labelling start of a binary file.
authorCary Coutant <ccoutant@google.com>
Tue, 25 Nov 2014 22:33:51 +0000 (14:33 -0800)
committerCary Coutant <ccoutant@google.com>
Tue, 25 Nov 2014 22:33:51 +0000 (14:33 -0800)
commit43b64debe3577c6923ca9f16ec91451bb47f5f65
tree0c80e597d31b882f7efe1f96cc6760553ac50187
parentc924eb67e143722e4098d84c1cb91123a51c988f
Add file size to ELF symbol labelling start of a binary file.

gold/
* binary.cc (Binary_to_elf::sized_convert): Add size to _start symbol.
(Binary_to_elf::write_symbol): Add st_size parameter.
* binary.h (Binary_to_elf::write_symbol): Add st_size parameter.
gold/ChangeLog
gold/binary.cc
gold/binary.h