diff options
author | Owen Avery <powerboat9.gamer@gmail.com> | 2023-09-04 14:23:10 -0400 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 19:04:34 +0100 |
commit | 346ccc0f0a8e2b916e33ac69f7f14bf5b7c1c8ad (patch) | |
tree | 19096cc30d10c81bb8a47816c694743bb4af9a10 | |
parent | 867ee3a57a2792a4c2c2526ae3977a32fd578a0f (diff) | |
download | gcc-346ccc0f0a8e2b916e33ac69f7f14bf5b7c1c8ad.zip gcc-346ccc0f0a8e2b916e33ac69f7f14bf5b7c1c8ad.tar.gz gcc-346ccc0f0a8e2b916e33ac69f7f14bf5b7c1c8ad.tar.bz2 |
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.
-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 2c04f7a..ceb5f9f 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 aae536c..3de0887 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 * |