projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't write to inferior_ptid in linux_get_siginfo_data
[deliverable/binutils-gdb.git]
/
gold
/
ehframe.h
diff --git
a/gold/ehframe.h
b/gold/ehframe.h
index a32b55089c1dbb0c94ab72c5072a4a0c0efea9f2..3fe96002dc94dd3ab57a853081f2976d364565bf 100644
(file)
--- a/
gold/ehframe.h
+++ b/
gold/ehframe.h
@@
-1,6
+1,6
@@
// ehframe.h -- handle exception frame sections for gold -*- C++ -*-
// ehframe.h -- handle exception frame sections for gold -*- C++ -*-
-// Copyright (C) 2006-20
16
Free Software Foundation, Inc.
+// Copyright (C) 2006-20
20
Free Software Foundation, Inc.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
// Written by Ian Lance Taylor <iant@google.com>.
// This file is part of gold.
@@
-203,9
+203,14
@@
class Fde
// Return whether this FDE was added after merge mapping.
bool
// Return whether this FDE was added after merge mapping.
bool
- post_map()
+ post_map()
const
{ return this->object_ == NULL && this->u_.from_linker.post_map; }
{ return this->object_ == NULL && this->u_.from_linker.post_map; }
+ // Return whether this FDE was added for the PLT after merge mapping.
+ bool
+ post_map(const Output_data* plt) const
+ { return this->post_map() && this->u_.from_linker.plt == plt; }
+
// Write the FDE to OVIEW starting at OFFSET. FDE_ENCODING is the
// encoding, from the CIE. Round up the bytes to ADDRALIGN if
// necessary. ADDRESS is the virtual address of OVIEW. Record the
// Write the FDE to OVIEW starting at OFFSET. FDE_ENCODING is the
// encoding, from the CIE. Round up the bytes to ADDRALIGN if
// necessary. ADDRESS is the virtual address of OVIEW. Record the
@@
-298,6
+303,16
@@
class Cie
add_fde(Fde* fde)
{ this->fdes_.push_back(fde); }
add_fde(Fde* fde)
{ this->fdes_.push_back(fde); }
+ // Remove the last FDE associated with this CIE.
+ void
+ remove_fde()
+ { this->fdes_.pop_back(); }
+
+ // Access the last FDE associated with this CIE.
+ const Fde*
+ last_fde() const
+ { return this->fdes_.back(); }
+
// Return the number of FDEs.
unsigned int
fde_count() const
// Return the number of FDEs.
unsigned int
fde_count() const
@@
-323,6
+338,11
@@
class Cie
unsigned int addralign, Eh_frame_hdr* eh_frame_hdr,
Post_fdes* post_fdes);
unsigned int addralign, Eh_frame_hdr* eh_frame_hdr,
Post_fdes* post_fdes);
+ // Return the FDE encoding.
+ unsigned char
+ fde_encoding() const
+ { return this->fde_encoding_; }
+
friend bool operator<(const Cie&, const Cie&);
friend bool operator==(const Cie&, const Cie&);
friend bool operator<(const Cie&, const Cie&);
friend bool operator==(const Cie&, const Cie&);
@@
-400,6
+420,11
@@
class Eh_frame : public Output_section_data
size_t cie_length, const unsigned char* fde_data,
size_t fde_length);
size_t cie_length, const unsigned char* fde_data,
size_t fde_length);
+ // Remove all post-map unwind information for a PLT.
+ void
+ remove_ehframe_for_plt(Output_data* plt, const unsigned char* cie_data,
+ size_t cie_length);
+
// Return the number of FDEs.
unsigned int
fde_count() const;
// Return the number of FDEs.
unsigned int
fde_count() const;
This page took
0.023994 seconds
and
4
git commands to generate.