diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2017-09-22 17:00:33 -0300 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2017-09-22 17:00:33 -0300 |
commit | 9e0703de64a6dd4deae2ebd569955f14337f2710 (patch) | |
tree | cec45139f1febef6441deabae142c3fb3f2c61f3 /gold/ehframe.h | |
parent | 13b9f79a1904081d984a64037af6457c1e3ff7b6 (diff) | |
parent | 43573013c9836f2b91b74b9b29dac35fdb41e06b (diff) | |
download | gdb-9e0703de64a6dd4deae2ebd569955f14337f2710.zip gdb-9e0703de64a6dd4deae2ebd569955f14337f2710.tar.gz gdb-9e0703de64a6dd4deae2ebd569955f14337f2710.tar.bz2 |
Merge remote-tracking branch 'remotes/master' into users/aoliva/SFN
Updated local changes to binutils/testsuite/binutils-all/readelf.exp
to match the unresolved (failed to assemble) messages introduced by
Alan Modra.
Diffstat (limited to 'gold/ehframe.h')
-rw-r--r-- | gold/ehframe.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gold/ehframe.h b/gold/ehframe.h index 347ce46..f501634 100644 --- a/gold/ehframe.h +++ b/gold/ehframe.h @@ -217,6 +217,8 @@ class Fde section_offset_type cie_offset, unsigned char fde_encoding, Eh_frame_hdr* eh_frame_hdr); + bool operator==(const Fde&) const; + private: // The object in which this FDE was seen. This will be NULL for a // linker generated FDE. @@ -298,6 +300,10 @@ class Cie add_fde(Fde* fde) { this->fdes_.push_back(fde); } + // Remove an FDE associated with this CIE. Only the last FDE may be removed. + void + remove_fde(const Fde*); + // Return the number of FDEs. unsigned int fde_count() const @@ -405,6 +411,13 @@ class Eh_frame : public Output_section_data size_t cie_length, const unsigned char* fde_data, size_t fde_length); + // Remove unwind information for a PLT. Only the last FDE added may + // be removed. + void + remove_ehframe_for_plt(Output_data* plt, const unsigned char* cie_data, + size_t cie_length, const unsigned char* fde_data, + size_t fde_length); + // Return the number of FDEs. unsigned int fde_count() const; |