diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-09-04 14:23:10 -0400 |
---|---|---|
committer | CohenArthur <arthur.cohen@embecosm.com> | 2023-09-06 11:29:16 +0000 |
commit | 97bd31cdafe04348c72c883231561e2479c5022a (patch) | |
tree | 09683df726abc26d445f4366a08781db0035633c | |
parent | 850e118c6122e777357438ffa1aa9e346f5a4c96 (diff) | |
download | gcc-97bd31cdafe04348c72c883231561e2479c5022a.zip gcc-97bd31cdafe04348c72c883231561e2479c5022a.tar.gz gcc-97bd31cdafe04348c72c883231561e2479c5022a.tar.bz2 |
Remove Backend::write_export_data
gcc/rust/ChangeLog:
* rust-backend.h
(Backend::write_export_data): Remove.
* rust-gcc.cc
(Backend::write_export_data): Remove.
-rw-r--r-- | gcc/rust/rust-backend.h | 4 | ||||
-rw-r--r-- | gcc/rust/rust-gcc.cc | 6 |
2 files changed, 0 insertions, 10 deletions
diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h index d73fabc..9f12273 100644 --- a/gcc/rust/rust-backend.h +++ b/gcc/rust/rust-backend.h @@ -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> &); diff --git a/gcc/rust/rust-gcc.cc b/gcc/rust/rust-gcc.cc index 8d4ccf8..45ae1d5 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 * |