gdb/testsuite/tui: Split enter_tui into two procs
[deliverable/binutils-gdb.git] / gold / compressed_output.h
index 86e3c013c2e09e350c17bf88f03ef71318a5f695..3d640a3bd072f7c320ba3d5d559522c46411ac2a 100644 (file)
@@ -1,6 +1,6 @@
 // compressed_output.h -- compressed output sections for gold  -*- C++ -*-
 
-// Copyright 2007, 2008, 2009 Free Software Foundation, Inc.
+// Copyright (C) 2007-2020 Free Software Foundation, Inc.
 // Written by Ian Lance Taylor <iant@google.com>.
 
 // This file is part of gold.
@@ -37,6 +37,18 @@ namespace gold
 
 class General_options;
 
+// Read the compression header of a compressed debug section and return
+// the uncompressed size.
+
+extern uint64_t
+get_uncompressed_size(const unsigned char*, section_size_type);
+
+// Decompress a compressed debug section directly into the output file.
+
+extern bool
+decompress_input_section(const unsigned char*, unsigned long, unsigned char*,
+                        unsigned long, int, bool, elfcpp::Elf_Xword);
+
 // This is used for a section whose data should be compressed.  It is
 // a regular Output_section which computes its contents into a buffer
 // and then postprocesses it.
@@ -45,9 +57,9 @@ class Output_compressed_section : public Output_section
 {
  public:
   Output_compressed_section(const General_options* options,
-                           const char* cname, elfcpp::Elf_Word cflags,
-                           elfcpp::Elf_Xword ctype)
-    : Output_section(cname, cflags, ctype),
+                           const char* name, elfcpp::Elf_Word flags,
+                           elfcpp::Elf_Xword type)
+    : Output_section(name, flags, type),
       options_(options)
   { this->set_requires_postprocessing(); }
 
This page took 0.02542 seconds and 4 git commands to generate.