]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: Remove Backend::write_export_data
authorOwen Avery <powerboat9.gamer@gmail.com>
Mon, 4 Sep 2023 18:23:10 +0000 (14:23 -0400)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 18:04:34 +0000 (19:04 +0100)
gcc/rust/ChangeLog:

* rust-backend.h
(Backend::write_export_data): Remove.
* rust-gcc.cc
(Backend::write_export_data): Remove.

gcc/rust/rust-backend.h
gcc/rust/rust-gcc.cc

index 2c04f7aff81cc58c8688eaf4e6043afac04c43ca..ceb5f9f045e3f27458bab2d086b4f4aa138f34c2 100644 (file)
@@ -456,10 +456,6 @@ public:
                            const std::vector<tree> &function_decls,
                            const std::vector<Bvariable *> &variable_decls);
 
-  // Write SIZE bytes of export data from BYTES to the proper
-  // section in the output object file.
-  void write_export_data (const char *bytes, unsigned int size);
-
 protected:
   tree fill_in_fields (tree, const std::vector<typed_identifier> &);
 
index aae536c52b1900fe05703bc74755c92fa4af7f07..3de0887355078289f3cdcb4c19f15e4fe27ad276 100644 (file)
@@ -2469,12 +2469,6 @@ Backend::write_global_definitions (
   delete[] defs;
 }
 
-void
-Backend::write_export_data (const char *bytes, unsigned int size)
-{
-  rust_write_export_data (bytes, size);
-}
-
 // Return the backend generator.
 
 Backend *