aboutsummaryrefslogtreecommitdiff
path: root/gold/binary.cc
AgeCommit message (Collapse)AuthorFilesLines
2016-01-01Copyright update for binutilsAlan Modra1-1/+1
2015-12-16PR gold/17473: Fix gold build with system C++ headers that use <ctype.h>.Roland McGrath1-1/+7
gold/ PR gold/17473 * binary.cc: Move #include "safe-ctype.h" to be last #include.
2015-01-02ChangeLog rotatation and copyright year updateAlan Modra1-1/+1
2014-11-25Add file size to ELF symbol labelling start of a binary file.Cary Coutant1-7/+8
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.
2014-03-05Update copyright yearsAlan Modra1-1/+1
2011-05-29 * binary.cc (Binary_to_elf::sized_convert): Don't crash if theIan Lance Taylor1-5/+12
binary input file is empty.
2009-02-07 * binary.cc: Fix file comment.Ian Lance Taylor1-1/+1
2008-06-05 PR 6584Ian Lance Taylor1-4/+4
* binary.cc (Binary_to_elf::sized_convert): Fix .data alignment.
2008-04-02 * fileread.cc (File_read::find_view): Add byteshift and vshiftedIan Lance Taylor1-1/+1
parameters. Update for new key type to views_. Change all callers. (File_read::read): Adjust for byteshift in returned view. (File_read::add_view): New function, broken out of find_and_make_view. (File_read::make_view): New function, broken out of find_and_make_view. (File_read::find_or_make_view): Add offset and aligned parameters. Rewrite accordingly. Change all callers. (File_read::get_view): Add offset and aligned parameters. Adjust for byteshift in return value. (File_read::get_lasting_view): Likewise. * fileread.h (class File_read): Update declarations. (class File_read::View): Add byteshift_ field. Add byteshift to constructor. Add byteshift method. * archive.h (Archive::clear_uncached_views): New function. (Archive::get_view): Add aligned parameter. Change all callers. * object.h (Object::get_view): Add aligned parameter. Change all callers. (Object::get_lasting_view): Likewise. * fileread.cc (File_read::release): Don't call clear_views if there are multiple objects. * fileread.h (File_read::clear_uncached_views): New function. * archive.cc (Add_archive_symbols::run): Call clear_uncached_views on the archive.
2008-02-08Add support for --format binary for input files.Ian Lance Taylor1-0/+356