From 43b64debe3577c6923ca9f16ec91451bb47f5f65 Mon Sep 17 00:00:00 2001 From: Cary Coutant Date: Tue, 25 Nov 2014 14:33:51 -0800 Subject: 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/binary.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gold/binary.h') diff --git a/gold/binary.h b/gold/binary.h index 3ce84c2..a611e95 100644 --- a/gold/binary.h +++ b/gold/binary.h @@ -95,7 +95,8 @@ class Binary_to_elf template void write_symbol(const std::string&, const Stringpool_template*, - section_size_type, unsigned int, unsigned char**); + section_size_type, typename elfcpp::Elf_types<32>::Elf_WXword, + unsigned int, unsigned char**); // The ELF machine code of the file to create. elfcpp::EM elf_machine_; -- cgit v1.1