Fix problem with optimization of .eh_frame section and --sort-section option.
[deliverable/binutils-gdb.git] / gold / ehframe.h
index 42ed7f6eb98e2a41fec3e8b77b0e720edeb89f3e..2ae12e0e092fa7c29d89ff31cd0af30fd1af1bc5 100644 (file)
@@ -211,8 +211,8 @@ class Fde
   // FDE in EH_FRAME_HDR.  Return the new offset.
   template<int size, bool big_endian>
   section_offset_type
-  write(unsigned char* oview, section_offset_type offset,
-       uint64_t address, unsigned int addralign,
+  write(unsigned char* oview, section_offset_type output_section_offset,
+       section_offset_type offset, uint64_t address, unsigned int addralign,
        section_offset_type cie_offset, unsigned char fde_encoding,
        Eh_frame_hdr* eh_frame_hdr);
 
@@ -317,7 +317,8 @@ class Cie
   // writing.  Return the new offset.
   template<int size, bool big_endian>
   section_offset_type
-  write(unsigned char* oview, section_offset_type offset, uint64_t address,
+  write(unsigned char* oview, section_offset_type output_section_offset,
+       section_offset_type offset, uint64_t address,
        unsigned int addralign, Eh_frame_hdr* eh_frame_hdr,
        Post_fdes* post_fdes);
 
This page took 0.026576 seconds and 4 git commands to generate.