]> git.ipfire.org Git - thirdparty/gcc.git/commit
rust: Add skeleton support and documentation for targetrustm hooks.
authorIain Buclaw <ibuclaw@gdcproject.org>
Sat, 24 Sep 2022 16:25:34 +0000 (18:25 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 21 Sep 2023 09:15:02 +0000 (11:15 +0200)
commitb1c06fd9723453dd2b2ec306684cb806dc2b4fbb
treeda0349bdabb9fec608f498981edc5ebd94aeb905
parent9b5b2c9f95056f97cf95f0e8d970015aa586497b
rust: Add skeleton support and documentation for targetrustm hooks.

gcc/ChangeLog:

* Makefile.in (tm_rust_file_list, tm_rust_include_list, TM_RUST_H,
RUST_TARGET_DEF, RUST_TARGET_H, RUST_TARGET_OBJS): New variables.
(tm_rust.h, cs-tm_rust.h, default-rust.o,
rust/rust-target-hooks-def.h, s-rust-target-hooks-def-h): New rules.
(s-tm-texi): Also check timestamp on rust-target.def.
(generated_files): Add TM_RUST_H and rust-target-hooks-def.h.
(build/genhooks.o): Also depend on RUST_TARGET_DEF.
* config.gcc (tm_rust_file, rust_target_objs, target_has_targetrustm):
New variables.
* configure: Regenerate.
* configure.ac (tm_rust_file_list, tm_rust_include_list,
rust_target_objs): Add substitutes.
* doc/tm.texi: Regenerate.
* doc/tm.texi.in (targetrustm): Document.
(target_has_targetrustm): Document.
* genhooks.cc: Include rust/rust-target.def.
* config/default-rust.cc: New file.

gcc/rust/ChangeLog:

* rust-target-def.h: New file.
* rust-target.def: New file.
* rust-target.h: New file.
gcc/Makefile.in
gcc/config.gcc
gcc/config/default-rust.cc [new file with mode: 0644]
gcc/configure
gcc/configure.ac
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/genhooks.cc
gcc/rust/rust-target-def.h [new file with mode: 0644]
gcc/rust/rust-target.def [new file with mode: 0644]
gcc/rust/rust-target.h [new file with mode: 0644]