projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[gdb/testsuite] Fix .debug_ranges in gdb.mi/dw2-ref-missing-frame-func.c
[deliverable/binutils-gdb.git]
/
gold
/
incremental.h
diff --git
a/gold/incremental.h
b/gold/incremental.h
index 76d05afc8db22774acd4bdf7deeda7189b752caf..e072b96fcb29fb7fe17fbdd46360b60e37bd92ca 100644
(file)
--- a/
gold/incremental.h
+++ b/
gold/incremental.h
@@
-1,6
+1,6
@@
// inremental.h -- incremental linking support for gold -*- C++ -*-
// inremental.h -- incremental linking support for gold -*- C++ -*-
-// Copyright
2009, 2010, 2011, 2012
Free Software Foundation, Inc.
+// Copyright
(C) 2009-2020
Free Software Foundation, Inc.
// Written by Mikolaj Zalewski <mikolajz@google.com>.
// This file is part of gold.
// Written by Mikolaj Zalewski <mikolajz@google.com>.
// This file is part of gold.
@@
-304,10
+304,10
@@
class Incremental_script_entry : public Incremental_input_entry
{
public:
Incremental_script_entry(Stringpool::Key filename_key,
{
public:
Incremental_script_entry(Stringpool::Key filename_key,
- unsigned int arg_serial, Script_info*
script
,
+ unsigned int arg_serial, Script_info*
/*script*/
,
Timespec mtime)
: Incremental_input_entry(filename_key, arg_serial, mtime),
Timespec mtime)
: Incremental_input_entry(filename_key, arg_serial, mtime),
-
script_(script),
objects_()
+ objects_()
{ }
// Add a member object to the archive.
{ }
// Add a member object to the archive.
@@
-341,8
+341,6
@@
class Incremental_script_entry : public Incremental_input_entry
{ return this; }
private:
{ return this; }
private:
- // Information about the script file.
- Script_info* script_;
// Objects that have been included by this script.
std::vector<Incremental_input_entry*> objects_;
};
// Objects that have been included by this script.
std::vector<Incremental_input_entry*> objects_;
};
@@
-1342,9
+1340,9
@@
class Incremental_got_plt_reader
class Incremental_binary
{
public:
class Incremental_binary
{
public:
- Incremental_binary(Output_file* output, Target*
target
)
+ Incremental_binary(Output_file* output, Target*
/*target*/
)
: input_args_map_(), library_map_(), script_map_(),
: input_args_map_(), library_map_(), script_map_(),
- output_(output)
, target_(target)
+ output_(output)
{ }
virtual
{ }
virtual
@@
-1370,6
+1368,9
@@
class Incremental_binary
Input_reader()
{ }
Input_reader()
{ }
+ Input_reader(const Input_reader&)
+ { }
+
virtual
~Input_reader()
{ }
virtual
~Input_reader()
{ }
@@
-1582,8
+1583,6
@@
class Incremental_binary
private:
// Edited output file object.
Output_file* output_;
private:
// Edited output file object.
Output_file* output_;
- // Target of the output file.
- Target* target_;
};
template<int size, bool big_endian>
};
template<int size, bool big_endian>
@@
-1712,6
+1711,10
@@
class Sized_incremental_binary : public Incremental_binary
: Input_reader(), reader_(r)
{ }
: Input_reader(), reader_(r)
{ }
+ Sized_input_reader(const Sized_input_reader& r)
+ : Input_reader(), reader_(r.reader_)
+ { }
+
virtual
~Sized_input_reader()
{ }
virtual
~Sized_input_reader()
{ }
@@
-1905,7
+1908,7
@@
class Sized_relobj_incr : public Sized_relobj<size, big_endian>
// Get the name of a section.
std::string
// Get the name of a section.
std::string
- do_section_name(unsigned int shndx);
+ do_section_name(unsigned int shndx)
const
;
// Return a view of the contents of a section.
const unsigned char*
// Return a view of the contents of a section.
const unsigned char*
@@
-2116,7
+2119,7
@@
class Sized_incr_dynobj : public Dynobj
// Get the name of a section.
std::string
// Get the name of a section.
std::string
- do_section_name(unsigned int shndx);
+ do_section_name(unsigned int shndx)
const
;
// Return a view of the contents of a section.
const unsigned char*
// Return a view of the contents of a section.
const unsigned char*
This page took
0.025171 seconds
and
4
git commands to generate.