aboutsummaryrefslogtreecommitdiff
path: root/gold/output.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2013-10-11 22:02:21 +0000
committerRoland McGrath <roland@gnu.org>2013-10-11 22:02:21 +0000
commitcc84c10bfe2f4661a1485a5c79aec6dfb1d4e270 (patch)
treea2e826da0e597a8ac28d9e941cb50056a788578a /gold/output.h
parent52f66a2c4d1200cac1e57c1a38f95c8485e9a72d (diff)
downloadgdb-cc84c10bfe2f4661a1485a5c79aec6dfb1d4e270.zip
gdb-cc84c10bfe2f4661a1485a5c79aec6dfb1d4e270.tar.gz
gdb-cc84c10bfe2f4661a1485a5c79aec6dfb1d4e270.tar.bz2
gold/
* target.h (Target::adjust_elf_header, Target::do_adjust_elf_header): Remove const from declaration. * target.cc (Sized_target::do_adjust_elf_header): Update definition. * sparc.cc (Target_sparc::do_adjust_elf_header): Likewise. * output.h (Output_file_header): Remove const from member target_ and corresponding constructor argument. * output.cc (Output_file_header::Output_file_header): Update prototype. (Output_file_header::do_sized_write): Use this->target_ in place of parameters()->target().
Diffstat (limited to 'gold/output.h')
-rw-r--r--gold/output.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/output.h b/gold/output.h
index f5a7299..a689a44 100644
--- a/gold/output.h
+++ b/gold/output.h
@@ -573,7 +573,7 @@ class Output_segment_headers : public Output_data
class Output_file_header : public Output_data
{
public:
- Output_file_header(const Target*,
+ Output_file_header(Target*,
const Symbol_table*,
const Output_segment_headers*);
@@ -617,7 +617,7 @@ class Output_file_header : public Output_data
off_t
do_size() const;
- const Target* target_;
+ Target* target_;
const Symbol_table* symtab_;
const Output_segment_headers* segment_header_;
const Output_section_headers* section_header_;