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.
This commit is contained in:
Owen Avery 2023-09-04 14:23:10 -04:00 committed by Arthur Cohen
parent 867ee3a57a
commit 346ccc0f0a
2 changed files with 0 additions and 10 deletions

View 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> &);

View 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 *