binutils-gdb/elfcpp
Cary Coutant 54674d3893 Make Elf_file::section_name() a const function, so that it can be used in
places where we have only a const Elf_file*.

elfcpp/
	* elfcpp_file.h (Elf_file::shnum): New const function.
	(Elf_file::shstrndx): New const function.
	(Elf_file::large_shndx_offset): New const function.
	(Elf_file::section_name): Add const attribute.
	(Elf_file::section_header_offset): Likewise.

gold/
	* dwp.cc (Sized_relobj_dwo::do_section_name): Add const attribute.
	* dynobj.h (Sized_dynobj::do_section_name): Likewise.
	* incremental.cc (Sized_relobj_incr::do_section_name): Likewise.
	(Sized_incr_dynobj::do_section_name): Likewise.
	* incremental.h (Sized_relobj_incr::do_section_name): Likewise.
	(Sized_incr_dynobj::do_section_name): Likewise.
	* object.h (Object::section_name): Likewise.
	(Object::do_section_name): Likewise.
	(Sized_relobj_file::do_section_name): Likewise.
	* plugin.cc (Sized_pluginobj::do_section_name): Likewise.
	* plugin.h (Sized_pluginobj::do_section_name): Likewise.
2014-09-02 15:44:58 -07:00
..
ChangeLog Make Elf_file::section_name() a const function, so that it can be used in 2014-09-02 15:44:58 -07:00
README Update copyright years 2014-03-05 22:16:15 +10:30
aarch64.h gold aarch64 patch to enable linking hello_wolrd. 2014-08-08 14:18:35 -07:00
arm.h Update copyright years 2014-03-05 22:16:15 +10:30
dwarf.h Update copyright years 2014-03-05 22:16:15 +10:30
elfcpp.h [MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions 2014-07-29 11:27:59 +01:00
elfcpp_file.h Make Elf_file::section_name() a const function, so that it can be used in 2014-09-02 15:44:58 -07:00
elfcpp_internal.h Update copyright years 2014-03-05 22:16:15 +10:30
elfcpp_swap.h Update copyright years 2014-03-05 22:16:15 +10:30
i386.h Update copyright years 2014-03-05 22:16:15 +10:30
mips.h gold/ 2014-06-23 12:02:10 -07:00
powerpc.h Update copyright years 2014-03-05 22:16:15 +10:30
sparc.h Update copyright years 2014-03-05 22:16:15 +10:30
tilegx.h Update copyright years 2014-03-05 22:16:15 +10:30
x86_64.h Update copyright years 2014-03-05 22:16:15 +10:30

README

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

elfcpp is a C++ library for reading and writing ELF information.  This
was written to support gold, the ELF linker, and may not be generally
useful.

elfcpp does not do file I/O.  It deals only with offsets and memory
data.

For efficiency, most accessors are templates with two arguments: the
ELF file class (32 or 64 bits) and the endianness.


Copyright (C) 2012-2014 Free Software Foundation, Inc.

Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.