From: Owen Avery Date: Mon, 4 Sep 2023 18:23:10 +0000 (-0400) Subject: gccrs: Remove Backend::write_export_data X-Git-Tag: basepoints/gcc-15~2146 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=346ccc0f0a8e2b916e33ac69f7f14bf5b7c1c8ad;p=thirdparty%2Fgcc.git gccrs: Remove Backend::write_export_data gcc/rust/ChangeLog: * rust-backend.h (Backend::write_export_data): Remove. * rust-gcc.cc (Backend::write_export_data): Remove. --- diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h index 2c04f7aff81c..ceb5f9f045e3 100644 --- a/gcc/rust/rust-backend.h +++ b/gcc/rust/rust-backend.h @@ -456,10 +456,6 @@ public: const std::vector &function_decls, const std::vector &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 &); diff --git a/gcc/rust/rust-gcc.cc b/gcc/rust/rust-gcc.cc index aae536c52b19..3de088735507 100644 --- a/gcc/rust/rust-gcc.cc +++ b/gcc/rust/rust-gcc.cc @@ -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 *